[patch 2/4] add x86-64 Kconfig options for sparsemem

From: Matt Tolentino
Date: Wed May 18 2005 - 10:28:07 EST



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@xxxxxxxxx>
Signed-off-by: Dave Hansen <haveblue@xxxxxxxxxx>
---

arch/x86_64/Kconfig | 19 +++++++++++++++++++
1 files changed, 19 insertions(+)

diff -urNp linux-2.6.12-rc4-mm2/arch/x86_64/Kconfig linux-2.6.12-rc4-mm2-m/arch/x86_64/Kconfig
--- linux-2.6.12-rc4-mm2/arch/x86_64/Kconfig 2005-05-18 07:38:20.000000000 -0400
+++ linux-2.6.12-rc4-mm2-m/arch/x86_64/Kconfig 2005-05-18 07:44:42.000000000 -0400
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/