From: Mike Kravetz Date: Thu, 23 Jun 2005 07:07:51 +0000 (-0700) Subject: [PATCH] ppc64: Kconfig memory models X-Git-Tag: v2.6.13-rc4~130^2~138 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=368a0a3afad08069b2679ecaff80fc18c10a6e2a;p=linux-2.6-omap-h63xx.git [PATCH] ppc64: Kconfig memory models 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/ppc64/Kconfig b/arch/ppc64/Kconfig index 87344f32423..011b5c0bf1d 100644 --- a/arch/ppc64/Kconfig +++ b/arch/ppc64/Kconfig @@ -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