diff mbox series

MIPS: Make NUMA select SMP

Message ID 1599215301-2480-1-git-send-email-hejinyang@loongson.cn (mailing list archive)
State Accepted
Headers show
Series MIPS: Make NUMA select SMP | expand

Commit Message

Jinyang He Sept. 4, 2020, 10:28 a.m. UTC
While it does make sense to allow CONFIG_NUMA and !CONFIG_SMP
in theory, it doesn't make much sense in practice. Follow other
architectures and make CONFIG_NUMA select CONFIG_SMP.

Signed-off-by: Jinyang He <hejinyang@loongson.cn>
---
 arch/mips/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 99220e7..b8e3331 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2657,6 +2657,7 @@  config ARCH_SPARSEMEM_ENABLE
 config NUMA
 	bool "NUMA Support"
 	depends on SYS_SUPPORTS_NUMA
+	select SMP
 	help
 	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
 	  Access).  This option improves performance on systems with more