diff options
| author | Matt Tolentino <metolent@snoqualmie.dp.intel.com> | 2005-06-23 03:08:05 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 12:45:06 -0400 |
| commit | 1035faf1b19efb83d5626985240f52cd149dd39b (patch) | |
| tree | 955a3d44fa1135c9ad0f25d5913915b927b6675c | |
| parent | 073326634bec2f36e165583d21fb0a9fad47ac0a (diff) | |
[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>
| -rw-r--r-- | arch/x86_64/Kconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 9f5b99e7b1eb..61ed16652347 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
| @@ -274,8 +274,27 @@ config NUMA | |||
| 274 | bool | 274 | bool |
| 275 | default n | 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 | source "mm/Kconfig" | 293 | source "mm/Kconfig" |
| 278 | 294 | ||
| 295 | config HAVE_ARCH_EARLY_PFN_TO_NID | ||
| 296 | def_bool y | ||
| 297 | |||
| 279 | config HAVE_DEC_LOCK | 298 | config HAVE_DEC_LOCK |
| 280 | bool | 299 | bool |
| 281 | depends on SMP | 300 | depends on SMP |
