[U-Boot] [PATCH 1/2] ext4: Rename block group descriptor table from gd to bgd

Simon Glass sjg at chromium.org
Wed Oct 3 22:40:21 CEST 2012


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.

Regards,
Simon

>
> - --
> Tom
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
>
> iQIcBAEBAgAGBQJQbJpVAAoJENk4IS6UOR1WdFgP/15lB4qT6FMGny9cqYn3aylV
> PuzqYZOhpTzhNywFoUyPjWkp4Zgga+BB+lJ/1wu0GLv6o3aBDCBrwsoTO22RWmo0
> dO0hADtycOjVTFAWUz1ORfxD1w2f06ZQPQkW72vOZCqAYMND+OqgVjwHHbWi5388
> ra27zxa2nS0r3DFn+H47d3yhnooZ32jv5ChAgUfGzvU/yA8SUqfwhpt/9s2zxO40
> O+Wl6FKavg4sGw4RCfAD9Cz2AR1vR80YzHcI6qFA/UUIf9M5Ai9Ka3yO/N+UBfaT
> pjdc4MUh4j3Nd/l0mPxVBDNE8KQ6m56BhXLjAoPcSNisT8Dh1Uzz5nH2pJrGXNHk
> JQUFXXQNEoNN8jQJKK6mrFlUYJ/YlFIYCQXPkC76WjyNmbz1Qd7wL2NmIbV9bQLZ
> F3VTqXhXwjt8FG0x14+X17Q8eEABe/ONvdzAP1QZyG4UFxYKsIOumVM4T4QdY2sP
> MYF4nX7tmVBxn3CVW6kwN1E8J7jxDnSWUjfiK+Sqpdw6V9biR+2Ozf8kXzWNZ0xs
> QMvEiX08jyg/f6JxjvXLuess+fk0xskwIliM4WCkxZ1H3dbo1hXSVRJMTXNohEp0
> hDxg9qypkrLcS9PIFHWr/oqWCIeOpOrwbVa4el/E6UboU6t91WyIxQICjxosLCg4
> ViGSt12tKVckDH5yn7up
> =bvjH
> -----END PGP SIGNATURE-----


More information about the U-Boot mailing list