On Apr 6, 2011, at 12:41 AM, Stephen Rothwell wrote:

> Hi Kumar,
> 
> On Wed,  6 Apr 2011 00:29:32 -0500 Kumar Gala <[email protected]> 
> 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.

Thanks, I'll rework the patch to use #define.

- k
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to