aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyril Chemparathy <cyril@ti.com>2012-07-23 09:34:39 -0400
committerCyril Chemparathy <cyril@ti.com>2012-09-21 10:43:57 -0400
commit64c3ff7a709a75200e6d543111a0dc6a77555abf (patch)
tree27e7d7ecf78f7a25279f221eaba50b4a3cbf97f3
parent964f05f9578dd099563610ebdd9adf30000fa8ed (diff)
downloadlinux-keystone-64c3ff7a709a75200e6d543111a0dc6a77555abf.tar.gz
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 <cyril@ti.com> Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
-rw-r--r--arch/arm/include/asm/memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h
index f3e8f8828ab8ec..19221c28a7c80f 100644
--- a/arch/arm/include/asm/memory.h
+++ b/arch/arm/include/asm/memory.h
@@ -315,6 +315,8 @@ static inline __deprecated void *bus_to_virt(unsigned long x)
#define arch_is_coherent() 0
#endif
+#define ARCH_LOW_ADDRESS_LIMIT PHYS_MASK
+
#endif
#include <asm-generic/memory_model.h>