summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/sparsemem.h
diff options
context:
space:
mode:
authorRussell King2006-11-30 21:43:51 +0100
committerRussell King2008-04-19 12:36:48 +0200
commit05944d74bc28fffbcce159cb915d0acff82f30a1 (patch)
tree6151f1a21d7171542ca84906207030d26f9b792d /include/asm-arm/sparsemem.h
parentLinux 2.6.25-rc7 (diff)
downloadkernel-qcow2-linux-05944d74bc28fffbcce159cb915d0acff82f30a1.tar.gz
kernel-qcow2-linux-05944d74bc28fffbcce159cb915d0acff82f30a1.tar.xz
kernel-qcow2-linux-05944d74bc28fffbcce159cb915d0acff82f30a1.zip
[ARM] Add initial sparsemem support
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/sparsemem.h')
-rw-r--r--include/asm-arm/sparsemem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-arm/sparsemem.h b/include/asm-arm/sparsemem.h
new file mode 100644
index 000000000000..277158191a0d
--- /dev/null
+++ b/include/asm-arm/sparsemem.h
@@ -0,0 +1,10 @@
+#ifndef ASMARM_SPARSEMEM_H
+#define ASMARM_SPARSEMEM_H
+
+#include <asm/memory.h>
+
+#define MAX_PHYSADDR_BITS 32
+#define MAX_PHYSMEM_BITS 32
+#define SECTION_SIZE_BITS NODE_MEM_SIZE_BITS
+
+#endif