Skip to content

Commit

Permalink
[PATCH] add x86-64 Kconfig options for sparsemem
Browse files Browse the repository at this point in the history
Add the requisite arch specific Kconfig options to enable the use of the
sparsemem implementation for NUMA kernels on x86-64.

Signed-off-by: Matt Tolentino <matthew.e.tolentino@intel.com>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Matt Tolentino authored and Linus Torvalds committed Jun 23, 2005
1 parent 0733266 commit 1035faf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions arch/x86_64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,27 @@ config NUMA
bool
default n

config ARCH_DISCONTIGMEM_ENABLE
def_bool y
depends on NUMA

config ARCH_DISCONTIGMEM_DEFAULT
def_bool y
depends on NUMA

config ARCH_SPARSEMEM_ENABLE
def_bool y
depends on NUMA

config ARCH_FLATMEM_ENABLE
def_bool y
depends on !NUMA

source "mm/Kconfig"

config HAVE_ARCH_EARLY_PFN_TO_NID
def_bool y

config HAVE_DEC_LOCK
bool
depends on SMP
Expand Down

0 comments on commit 1035faf

Please sign in to comment.