summaryrefslogtreecommitdiffstats
path: root/arch/mips64
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-02-06 00:20:27 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-02-06 00:20:27 +0000
commit0481e7544584f5401f762fce5f2b8640e1c08e57 (patch)
tree2553ff77d37b198056407ac494462f563603de00 /arch/mips64
parent08787df154c978f87e8066c074582adac542d305 (diff)
Add in code for a CONFIG_DISCONTIGMEM compile. Still to be debugged.
Diffstat (limited to 'arch/mips64')
-rw-r--r--arch/mips64/config.in3
-rw-r--r--arch/mips64/sgi-ip27/ip27-memory.c12
2 files changed, 14 insertions, 1 deletions
diff --git a/arch/mips64/config.in b/arch/mips64/config.in
index e8833c51a..3a7e57aad 100644
--- a/arch/mips64/config.in
+++ b/arch/mips64/config.in
@@ -1,4 +1,4 @@
-# $Id: config.in,v 1.11 2000/02/04 07:40:23 ralf Exp $
+# $Id: config.in,v 1.12 2000/02/05 06:47:09 ralf Exp $
#
# For a description of the syntax of this configuration file,
# see the Configure script.
@@ -16,6 +16,7 @@ bool 'Support for SGI IP22' CONFIG_SGI_IP22
bool 'Support for SGI IP27' CONFIG_SGI_IP27
if [ "$CONFIG_SGI_IP27" = "y" ]; then
bool ' IP27 N-Mode' CONFIG_SGI_SN0_N_MODE
+ bool ' Discontiguous Memory Support' CONFIG_DISCONTIGMEM
#bool ' IP27 XXL' CONFIG_SGI_SN0_XXL
fi
endmenu
diff --git a/arch/mips64/sgi-ip27/ip27-memory.c b/arch/mips64/sgi-ip27/ip27-memory.c
index b8a55dcfd..12aba0173 100644
--- a/arch/mips64/sgi-ip27/ip27-memory.c
+++ b/arch/mips64/sgi-ip27/ip27-memory.c
@@ -196,3 +196,15 @@ prom_free_prom_memory (void)
{
/* We got nothing to free here ... */
}
+
+#ifdef CONFIG_DISCONTIGMEM
+
+plat_pg_data_t plat_node_data[MAX_COMPACT_NODES];
+
+int numa_debug(void)
+{
+ printk("NUMA debug\n");
+ *(int *)0 = 0;
+ return(0);
+}
+#endif