summaryrefslogtreecommitdiff
path: root/include/asm-sparc/sparsemem.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-07-27 15:54:08 +0400
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-07-27 15:54:08 +0400
commiteda3d8f5604860aae1bb9996bb5efc4213778369 (patch)
tree9d3887d2665bcc5f5abf200758794545c7b2c69b /include/asm-sparc/sparsemem.h
parent87a9f704658a40940e740b1d73d861667e9164d3 (diff)
parent8be1a6d6c77ab4532e4476fdb8177030ef48b52c (diff)
downloadlinux-eda3d8f5604860aae1bb9996bb5efc4213778369.tar.xz
Merge commit 'upstream/master'
Diffstat (limited to 'include/asm-sparc/sparsemem.h')
-rw-r--r--include/asm-sparc/sparsemem.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-sparc/sparsemem.h b/include/asm-sparc/sparsemem.h
new file mode 100644
index 000000000000..b99d4e4b6d28
--- /dev/null
+++ b/include/asm-sparc/sparsemem.h
@@ -0,0 +1,12 @@
+#ifndef _SPARC64_SPARSEMEM_H
+#define _SPARC64_SPARSEMEM_H
+
+#ifdef __KERNEL__
+
+#define SECTION_SIZE_BITS 30
+#define MAX_PHYSADDR_BITS 42
+#define MAX_PHYSMEM_BITS 42
+
+#endif /* !(__KERNEL__) */
+
+#endif /* !(_SPARC64_SPARSEMEM_H) */