From: David S. Miller Date: Thu, 19 Sep 2013 01:39:25 +0000 (-0700) Subject: sparc64: Fix inconsistent max-physical-address defines. X-Git-Tag: accepted/tizen/common/20141203.182822~1114^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f998c9c0d663b013e3aa3ba78908396c8c497218;p=platform%2Fkernel%2Flinux-arm64.git sparc64: Fix inconsistent max-physical-address defines. Some parts of the code use '41' others use '42', make them all use the same value. Signed-off-by: David S. Miller Acked-by: Bob Picco --- diff --git a/arch/sparc/include/asm/sparsemem.h b/arch/sparc/include/asm/sparsemem.h index b99d4e4..e5e1752 100644 --- a/arch/sparc/include/asm/sparsemem.h +++ b/arch/sparc/include/asm/sparsemem.h @@ -3,9 +3,11 @@ #ifdef __KERNEL__ +#include + #define SECTION_SIZE_BITS 30 -#define MAX_PHYSADDR_BITS 42 -#define MAX_PHYSMEM_BITS 42 +#define MAX_PHYSADDR_BITS MAX_PHYS_ADDRESS_BITS +#define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS #endif /* !(__KERNEL__) */