Re: [PATCH 1/3] Add extended attributes to ext2/3

From: Andi Kleen (
Date: Wed Oct 16 2002 - 09:01:53 EST

> There isn't as far as I know a flag I can test in a file
> that distinguishes 64 from 32-bit architectures. The intention was to
> enable the choice of CONFIG_LBD where it made sense; it doesn't make
> sense for 64-bit architectures; and rather than enumerate all the
> 32-bit architectures, I just chose two that I knew were used in
> servers currently.

Then you got it wrong. CONFIG_X86 includes x86-64, which is 64bit.
Correct test for x86-32 would be something like
CONFIG_X86 && !CONFIG_X86_64

best way is to just define_bool it in the individual arch/*/
Or alternatively add a CONFIG_64BIT to the 64bit architectures and
test for that.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:28 EST