summaryrefslogtreecommitdiff
path: root/arch/arm/mach-lh7a40x/include/mach
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-10-02 00:38:23 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-10-02 00:42:08 +0400
commit4ba3f7c55938d7e51e23c1feedd035dd46716ae7 (patch)
tree088878e8ee5b019542b0295f3717885526d4a2b8 /arch/arm/mach-lh7a40x/include/mach
parent07a2f737ba1d73ace591dd03c512bb0dd63f6785 (diff)
downloadlinux-4ba3f7c55938d7e51e23c1feedd035dd46716ae7.tar.xz
[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/mach')
-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