]> xenbits.xensource.com Git - people/aperard/linux-arndale.git/commitdiff
ARM: LPAE: define ARCH_LOW_ADDRESS_LIMIT for bootmem
authorCyril Chemparathy <cyril@ti.com>
Fri, 21 Sep 2012 15:56:10 +0000 (11:56 -0400)
committerVasanth Ananthan <vasanthananthan@gmail.com>
Tue, 8 Jan 2013 10:34:44 +0000 (16:04 +0530)
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>
arch/arm/include/asm/memory.h

index 064345455a35d4fd35690938c2b02a931c0a851c..a286acc01db79fe7ae58b5c7e253521e219e68bd 100644 (file)
@@ -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