summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-07-03 00:09:47 +0900
committerRalf Baechle <ralf@linux-mips.org>2006-07-13 21:25:59 +0100
commitb1c6cd429b5f9fde39f5950ba9f2993286954f6c (patch)
treefc1aed43d73b2375f17b52bad3a31d2f34147073
parenta5e68986e8e75546901010fe4e3485f6cd60b4a6 (diff)
downloadop-kernel-dev-b1c6cd429b5f9fde39f5950ba9f2993286954f6c.zip
op-kernel-dev-b1c6cd429b5f9fde39f5950ba9f2993286954f6c.tar.gz
[MIPS] Make SPARSEMEM selectable on QEMU.
This might be helpfull to debug sparsemem on mips. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 747a9c1..46798aa 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -556,6 +556,7 @@ config QEMU
select SYS_HAS_CPU_MIPS32_R1
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_BIG_ENDIAN
+ select ARCH_SPARSEMEM_ENABLE
help
Qemu is a software emulator which among other architectures also
can simulate a MIPS32 4Kc system. This patch adds support for the
@@ -1688,6 +1689,9 @@ config ARCH_DISCONTIGMEM_ENABLE
or have huge holes in the physical address space for other reasons.
See <file:Documentation/vm/numa> for more.
+config ARCH_SPARSEMEM_ENABLE
+ bool
+
config NUMA
bool "NUMA Support"
depends on SYS_SUPPORTS_NUMA
OpenPOWER on IntegriCloud