summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/sparsemem.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-06-12 09:53:34 +0200
committerPaul Mackerras <paulus@samba.org>2006-06-12 09:53:34 +0200
commit7a0c58d0513c246ac5438ef4a55ce8b93395ae0e (patch)
treed18f58349ced242aa62e622e381e60933f71d451 /include/asm-mips/sparsemem.h
parentpowerpc: add context.vdso_base for 32-bit too (diff)
parent[PATCH] Fix for the PPTP hangs that have been reported (diff)
downloadlinux-7a0c58d0513c246ac5438ef4a55ce8b93395ae0e.tar.xz
linux-7a0c58d0513c246ac5438ef4a55ce8b93395ae0e.zip
Merge branch 'merge'
Diffstat (limited to 'include/asm-mips/sparsemem.h')
-rw-r--r--include/asm-mips/sparsemem.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-mips/sparsemem.h b/include/asm-mips/sparsemem.h
new file mode 100644
index 000000000000..795ac6c23203
--- /dev/null
+++ b/include/asm-mips/sparsemem.h
@@ -0,0 +1,14 @@
+#ifndef _MIPS_SPARSEMEM_H
+#define _MIPS_SPARSEMEM_H
+#ifdef CONFIG_SPARSEMEM
+
+/*
+ * SECTION_SIZE_BITS 2^N: how big each section will be
+ * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space
+ */
+#define SECTION_SIZE_BITS 28
+#define MAX_PHYSMEM_BITS 35
+
+#endif /* CONFIG_SPARSEMEM */
+#endif /* _MIPS_SPARSEMEM_H */
+