[U-Boot] [PATCH 1/2] ext4: Rename block group descriptor table from gd to bgd
Graeme Russ
graeme.russ at gmail.com
Wed Oct 3 22:47:44 CEST 2012
Hi Simon,
On Oct 4, 2012 6:40 AM, "Simon Glass" <sjg at chromium.org> wrote:
>
> Hi Tom,
>
> On Wed, Oct 3, 2012 at 1:04 PM, Tom Rini <trini at ti.com> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 10/03/12 12:53, Simon Glass wrote:
> >
> >> On x86 machines gd is unfortunately a #define, so we should avoid
> >> using gd for anything. This patch changes uses of gd to bgd so that
> >> ext4fs can be used on x86.
> >>
> >> Signed-off-by: Simon Glass <sjg at chromium.org>
> >
> > Is there any way to change x86 to not be using a #define for gd?
>
> I wasn't brave enough to look hard at that, although Graeme is on copy
> and will know. It is actually using inline assembly to access this
> special variable.
Isn't 'gd' used by everyone (global data)? I fail to see how this ever
worked.
Regards,
Graeme
More information about the U-Boot
mailing list