[PATCH][1/3] ppc32: add 440ep support

Andrew Morton akpm at osdl.org
Thu Jul 28 06:18:57 EST 2005


Matt Porter <mporter at kernel.crashing.org> wrote:
>
> +static u64 dma_mask = 0xffffffffULL;

I'm sure you're totally uninterested in this, but the above will probably
generate warnings on (say) ppc64, where u64 is implemented as unsigned
long.

I usually chuck a simple `-1' in there and the compiler always gets it
right, regardless of signedness and size and architecture.



More information about the Linuxppc-embedded mailing list