From: Cyril Chemparathy Date: Fri, 21 Sep 2012 15:56:10 +0000 (-0400) Subject: ARM: LPAE: define ARCH_LOW_ADDRESS_LIMIT for bootmem X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3d2b5a33000dac3b0ca8a1caef4a203bd0262b4c;p=people%2Faperard%2Flinux-arndale.git ARM: LPAE: define ARCH_LOW_ADDRESS_LIMIT for bootmem This patch adds an architecture defined override for ARCH_LOW_ADDRESS_LIMIT. On PAE systems, the absence of this override causes bootmem to incorrectly limit itself to 32-bit addressable physical memory. Signed-off-by: Cyril Chemparathy Signed-off-by: Vitaly Andrianov --- diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 064345455a35d..a286acc01db79 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h @@ -311,4 +311,6 @@ static inline __deprecated void *bus_to_virt(unsigned long x) #include +#define ARCH_LOW_ADDRESS_LIMIT PHYS_MASK + #endif