Browse Source

[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>
Atsushi Nemoto 19 năm trước cách đây
mục cha
commit
31473747bd
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      arch/mips/Kconfig

+ 4 - 0
arch/mips/Kconfig

@@ -480,6 +480,7 @@ config MOMENCO_OCELOT_G
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select SYS_SUPPORTS_64BIT_KERNEL
 	select SYS_SUPPORTS_64BIT_KERNEL
 	select SYS_SUPPORTS_BIG_ENDIAN
 	select SYS_SUPPORTS_BIG_ENDIAN
+	select ARCH_SPARSEMEM_ENABLE
 	help
 	help
 	  The Ocelot is a MIPS-based Single Board Computer (SBC) made by
 	  The Ocelot is a MIPS-based Single Board Computer (SBC) made by
 	  Momentum Computer <http://www.momenco.com/>.
 	  Momentum Computer <http://www.momenco.com/>.
@@ -1692,6 +1693,9 @@ config ARCH_DISCONTIGMEM_ENABLE
 config ARCH_SPARSEMEM_ENABLE
 config ARCH_SPARSEMEM_ENABLE
 	bool
 	bool
 
 
+config ARCH_SPARSEMEM_ENABLE
+	bool
+
 config NUMA
 config NUMA
 	bool "NUMA Support"
 	bool "NUMA Support"
 	depends on SYS_SUPPORTS_NUMA
 	depends on SYS_SUPPORTS_NUMA