summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2021-03-30 15:25:31 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-04-02 06:37:08 +0200
commit1adbc2941eee8acbe3c7dc6b51cdbc5a9bf19565 (patch)
tree4ebf29b0783b84963ae1f8f3f9239fa88db8c6da /arch/riscv/Kconfig
parentriscv: remove unneeded semicolon (diff)
downloadlinux-1adbc2941eee8acbe3c7dc6b51cdbc5a9bf19565.tar.xz
linux-1adbc2941eee8acbe3c7dc6b51cdbc5a9bf19565.zip
riscv: Make NUMA depend on MMU
NUMA is useless when NOMMU, and it leads some build error, make it depend on MMU. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to '')
-rw-r--r--arch/riscv/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 87d7b52f278f..0d0cf67359cb 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -314,7 +314,7 @@ endchoice
# Common NUMA Features
config NUMA
bool "NUMA Memory Allocation and Scheduler Support"
- depends on SMP
+ depends on SMP && MMU
select GENERIC_ARCH_NUMA
select OF_NUMA
select ARCH_SUPPORTS_NUMA_BALANCING