summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Chemparathy <cyril@ti.com>2012-09-21 11:56:10 -0400
committerTushar Behera <tushar.behera@linaro.org>2013-01-22 11:41:26 +0530
commitf56351237c2a08f555e397d8f81e8dac481d35c4 (patch)
tree92028f2e93c30b3bc349bb54f250017c7a71971e
parent3b47f14a14b13971de37ff793b6d80d31ca48743 (diff)
downloadlinux-topics-f56351237c2a08f555e397d8f81e8dac481d35c4.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 064345455a3..a286acc01db 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 <asm-generic/memory_model.h>
+#define ARCH_LOW_ADDRESS_LIMIT PHYS_MASK
+
#endif