From: Kefeng Wang Date: Tue, 30 Mar 2021 13:25:31 +0000 (+0800) Subject: riscv: Make NUMA depend on MMU X-Git-Tag: v5.15~1437^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1adbc2941eee8acbe3c7dc6b51cdbc5a9bf19565;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Kefeng Wang Signed-off-by: Palmer Dabbelt --- 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