[PATCH] powerpc: Fix integer constant warning

Josh Boyer jwboyer at linux.vnet.ibm.com
Tue Jun 8 23:55:54 EST 2010


On Tue, Jun 08, 2010 at 02:12:26PM +0100, David Howells wrote:
>Steve Best <sfbest at us.ibm.com> wrote:
>
>> -#define KERNELBASE (0xc000000000000000)
>> +#define KERNELBASE (0xc000000000000000ULL)
>
>Is this the right fix?  The code producing the warning is subtracting
>0xc000000000000000 from a 32-bit number:

It might not matter, since Paul sent a patch to remove this file entirely.

josh


More information about the Linuxppc-dev mailing list