commit | f78f7ed72632a0794161f290b89e2cd752f55202 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Thu Oct 08 13:29:28 2015 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Oct 09 08:02:25 2015 +1100 |
tree | 0d6fbd18c2a7f11d5112c3b78aeb68ff2abcd683 | |
parent | 1b70386c99e997b359735c753ca1a27c6cf87847 [diff] |
powerpc: Fix _ALIGN_* errors due to type difference. 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 <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>