[PATCH] ppc64 Kconfig memory models

2005-04-05 Thread Mike Kravetz
This patch changes some of the default behavior in the ppc64 Kconfig
file that was recently changed/added to 2.6.12-rc2-mm1 by Dave Hansen
in preparation for SPARSEMEM.  Patch allows the display of both FLAT
and DISCONTIG models on pseries.  As before, default is DISCONTIG for
SMP and PSERIES and FLAT for others.

-- 
Signed-off-by: Mike Kravetz <[EMAIL PROTECTED]>

diff -Naupr linux-2.6.12-rc2-mm1/arch/ppc64/Kconfig 
linux-2.6.12-rc2-mm1.work/arch/ppc64/Kconfig
--- linux-2.6.12-rc2-mm1/arch/ppc64/Kconfig 2005-04-05 18:44:57.0 
+
+++ linux-2.6.12-rc2-mm1.work/arch/ppc64/Kconfig2005-04-05 
18:54:36.0 +
@@ -199,9 +199,16 @@ config HMT
  pSeries systems p620 and p660 have such a cpu type.
 
 config ARCH_DISCONTIGMEM_ENABLE
-   bool "Discontiguous Memory Support"
+   def_bool y
depends on SMP && PPC_PSERIES
 
+config ARCH_DISCONTIGMEM_DEFAULT
+   def_bool y
+   depends on ARCH_DISCONTIGMEM_ENABLE
+
+config ARCH_FLATMEM_ENABLE
+   def_bool y
+
 source "mm/Kconfig"
 
 config NUMA
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] ppc64 Kconfig memory models

2005-04-05 Thread Mike Kravetz
This patch changes some of the default behavior in the ppc64 Kconfig
file that was recently changed/added to 2.6.12-rc2-mm1 by Dave Hansen
in preparation for SPARSEMEM.  Patch allows the display of both FLAT
and DISCONTIG models on pseries.  As before, default is DISCONTIG for
SMP and PSERIES and FLAT for others.

-- 
Signed-off-by: Mike Kravetz [EMAIL PROTECTED]

diff -Naupr linux-2.6.12-rc2-mm1/arch/ppc64/Kconfig 
linux-2.6.12-rc2-mm1.work/arch/ppc64/Kconfig
--- linux-2.6.12-rc2-mm1/arch/ppc64/Kconfig 2005-04-05 18:44:57.0 
+
+++ linux-2.6.12-rc2-mm1.work/arch/ppc64/Kconfig2005-04-05 
18:54:36.0 +
@@ -199,9 +199,16 @@ config HMT
  pSeries systems p620 and p660 have such a cpu type.
 
 config ARCH_DISCONTIGMEM_ENABLE
-   bool Discontiguous Memory Support
+   def_bool y
depends on SMP  PPC_PSERIES
 
+config ARCH_DISCONTIGMEM_DEFAULT
+   def_bool y
+   depends on ARCH_DISCONTIGMEM_ENABLE
+
+config ARCH_FLATMEM_ENABLE
+   def_bool y
+
 source mm/Kconfig
 
 config NUMA
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/