Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] add x86-64 Kconfig options for sparsemem

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>

authored by

Matt Tolentino and committed by
Linus Torvalds
1035faf1 07332663

+19
+19
arch/x86_64/Kconfig
··· 274 274 bool 275 275 default n 276 276 277 + config ARCH_DISCONTIGMEM_ENABLE 278 + def_bool y 279 + depends on NUMA 280 + 281 + config ARCH_DISCONTIGMEM_DEFAULT 282 + def_bool y 283 + depends on NUMA 284 + 285 + config ARCH_SPARSEMEM_ENABLE 286 + def_bool y 287 + depends on NUMA 288 + 289 + config ARCH_FLATMEM_ENABLE 290 + def_bool y 291 + depends on !NUMA 292 + 277 293 source "mm/Kconfig" 294 + 295 + config HAVE_ARCH_EARLY_PFN_TO_NID 296 + def_bool y 278 297 279 298 config HAVE_DEC_LOCK 280 299 bool