[RFC][PATCH] powerpc/book3e: Fix CPU feature handling on e5500
Stephen Rothwell
sfr at canb.auug.org.au
Wed Apr 6 15:41:47 EST 2011
Hi Kumar,
On Wed, 6 Apr 2011 00:29:32 -0500 Kumar Gala <galak at kernel.crashing.org> wrote:
>
> * I'm concerned if its ok to assume 'enum' can handle a 64-bit mask or not.
> I'm assuming this is the reason that we use a #define on __powerpc64__
enums are *ints* and therefore 32 bit. gcc can cope, but warns about it
(I think). So we must use the #define if any of the included bits are
above 2^32.
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20110406/94e07854/attachment.pgp>
More information about the Linuxppc-dev
mailing list