diff options
author | Cyril Chemparathy <cyril@ti.com> | 2012-09-21 11:56:10 -0400 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2013-02-21 17:49:11 +0400 |
commit | 42e7eadf2a21829ea566b48bd3df8b66dbd62cd0 (patch) | |
tree | 18619174281ebb4b45648ea698f1474965e78057 | |
parent | c41767e9fbdbaeba6bd6f564b024c139ff51902a (diff) | |
download | linux-linaro-tracking-with-fixes-42e7eadf2a21829ea566b48bd3df8b66dbd62cd0.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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 6416728dc43..d759fdf692b 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 |