summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/sparsemem.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-08 02:16:07 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:14:22 -0800
commitd1112018b4bc82adf5c8a9c15a08954328f023ae (patch)
tree4d94ef6c153f028cfaaff711cf7d4f07aa90e9b4 /include/asm-sparc64/sparsemem.h
parentee29074d3bd23848905f52c515974e0cd0219faa (diff)
downloadop-kernel-dev-d1112018b4bc82adf5c8a9c15a08954328f023ae.zip
op-kernel-dev-d1112018b4bc82adf5c8a9c15a08954328f023ae.tar.gz
[SPARC64]: Move over to sparsemem.
This has been pending for a long time, and the fact that we waste a ton of ram on some configurations kind of pushed things over the edge. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/sparsemem.h')
-rw-r--r--include/asm-sparc64/sparsemem.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-sparc64/sparsemem.h b/include/asm-sparc64/sparsemem.h
new file mode 100644
index 0000000..ed5c9d8
--- /dev/null
+++ b/include/asm-sparc64/sparsemem.h
@@ -0,0 +1,12 @@
+#ifndef _SPARC64_SPARSEMEM_H
+#define _SPARC64_SPARSEMEM_H
+
+#ifdef __KERNEL__
+
+#define SECTION_SIZE_BITS 26
+#define MAX_PHYSADDR_BITS 42
+#define MAX_PHYSMEM_BITS 42
+
+#endif /* !(__KERNEL__) */
+
+#endif /* !(_SPARC64_SPARSEMEM_H) */
OpenPOWER on IntegriCloud