linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MIPS: Make NUMA select SMP
@ 2020-09-04 10:28 Jinyang He
  0 siblings, 0 replies; only message in thread
From: Jinyang He @ 2020-09-04 10:28 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: linux-mips, linux-kernel, Matthew Wilcox

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 --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
-- 
2.1.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-04 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 10:28 [PATCH] MIPS: Make NUMA select SMP Jinyang He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).