]> err.no Git - linux-2.6/commitdiff
[MIPS] Make SPARSEMEM selectable on QEMU.
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 2 Jul 2006 15:09:47 +0000 (00:09 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jul 2006 20:25:59 +0000 (21:25 +0100)
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>
arch/mips/Kconfig

index 747a9c1228f247b959bd9ff11cc240c6cd4946ec..46798aa8d3ccf5a2f81943cbb73daf1659f229e8 100644 (file)
@@ -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