Skip to content

Commit

Permalink
[PATCH] ppc64: Kconfig memory models
Browse files Browse the repository at this point in the history
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 <kravetz@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Mike Kravetz authored and Linus Torvalds committed Jun 23, 2005
1 parent 785dcd4 commit 368a0a3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion arch/ppc64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 368a0a3

Please sign in to comment.