diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2015-10-08 13:29:28 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-10-09 08:02:25 +1100 |
commit | f78f7ed72632a0794161f290b89e2cd752f55202 (patch) | |
tree | 0d6fbd18c2a7f11d5112c3b78aeb68ff2abcd683 /arch/powerpc/net | |
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>
Diffstat (limited to 'arch/powerpc/net')
0 files changed, 0 insertions, 0 deletions