[PATCH] cell: set ARCH_SPARSEMEM_DEFAULT in Kconfig

Geoff Levand geoffrey.levand at am.sony.com
Fri Nov 3 16:08:45 EST 2006


The current cell processor support needs sparsemem, so set it as
the default memory model.

Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>

--

As noted by Benjamin Herrenschmidt.

Index: cell--common--6/arch/powerpc/Kconfig
===================================================================
--- cell--common--6.orig/arch/powerpc/Kconfig
+++ cell--common--6/arch/powerpc/Kconfig
@@ -734,7 +743,7 @@
 
 config ARCH_SPARSEMEM_DEFAULT
 	def_bool y
-	depends on SMP && PPC_PSERIES
+	depends on (SMP && PPC_PSERIES) || PPC_CELL
 
 config ARCH_POPULATES_NODE_MAP
 	def_bool y



More information about the Linuxppc-dev mailing list