From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 18 May 2005 08:24:41 -0700 From: Matt Tolentino Message-Id: <200505181524.j4IFOfew026909@snoqualmie.dp.intel.com> Subject: [patch 2/4] add x86-64 Kconfig options for sparsemem Sender: owner-linux-mm@kvack.org Return-Path: To: ak@muc.de, akpm@osdl.org Cc: apw@shadowen.org, haveblue@us.ibm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: 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 Signed-off-by: Dave Hansen --- 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org