summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lh7a40x/include
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-10-01 21:38:23 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-10-01 21:42:08 +0100
commit4ba3f7c55938d7e51e23c1feedd035dd46716ae7 (patch)
tree088878e8ee5b019542b0295f3717885526d4a2b8 /arch/arm/mach-lh7a40x/include
parent07a2f737ba1d73ace591dd03c512bb0dd63f6785 (diff)
downloadblackbird-op-linux-4ba3f7c55938d7e51e23c1feedd035dd46716ae7.tar.gz
blackbird-op-linux-4ba3f7c55938d7e51e23c1feedd035dd46716ae7.zip
[ARM] mm: allow LH7A40x to use sparsemem
Enable Sparsemem support for LH7A40x SoCs, while still allowing the existing discontig support for the time being. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-lh7a40x/include')
-rw-r--r--arch/arm/mach-lh7a40x/include/mach/memory.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-lh7a40x/include/mach/memory.h b/arch/arm/mach-lh7a40x/include/mach/memory.h
index f7107b4c197a..1da14ff66c93 100644
--- a/arch/arm/mach-lh7a40x/include/mach/memory.h
+++ b/arch/arm/mach-lh7a40x/include/mach/memory.h
@@ -73,4 +73,10 @@
#endif
+/*
+ * Sparsemem version of the above
+ */
+#define MAX_PHYSMEM_BITS 32
+#define SECTION_SIZE_BITS 24
+
#endif
OpenPOWER on IntegriCloud