On Thu, 2015-08-10 at 07:59:28 UTC, "Aneesh Kumar K.V" wrote: > This avoid errors like > > unsigned int usize = 1 << 30; > int size = 1 << 30; > unsigned long addr = 64UL << 30 ; > > value = _ALIGN_DOWN(addr, usize); -> 0 > value = _ALIGN_DOWN(addr, size); -> 0x1000000000 > > Signed-off-by: Aneesh Kumar K.V <[email protected]>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/f78f7ed72632a0794161f290 cheers _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
