[PATCH] riscv: Make NUMA depend on MMU
Kefeng Wang
wangkefeng.wang at huawei.com
Tue Mar 30 14:25:31 BST 2021
NUMA is useless when NOMMU, and it leads some build error,
make it depend on MMU.
Reported-by: kernel test robot <lkp at intel.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang at huawei.com>
---
arch/riscv/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 0368453adc30..958676c6d5ce 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -317,7 +317,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
--
2.26.2
More information about the linux-riscv
mailing list