From patchwork Wed May 30 09:31:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFC,powerpc] make CONFIG_NUMA depends on CONFIG_SMP From: Li Zhong X-Patchwork-Id: 161911 Message-Id: <1338370318.3637.12.camel@ThinkPad-T420> Cc: Paul Mackerras , PowerPC email list Date: Wed, 30 May 2012 17:31:58 +0800 I'm not sure whether it makes sense to add this dependency to avoid CONFI_NUMA && !CONFIG_SMP. I want to do this because I saw some build errors on next-tree when compiling with CONFIG_SMP disabled, and it seems they are caused by some codes under the CONFIG_NUMA #ifdefs. Signed-off-by: Li Zhong --- arch/powerpc/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 050cb37..b2aa74b 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -394,7 +394,7 @@ config IRQ_ALL_CPUS config NUMA bool "NUMA support" - depends on PPC64 + depends on PPC64 && SMP default y if SMP && PPC_PSERIES config NODES_SHIFT