Skip to content

Commit 1adbc29

Browse files
Kefeng Wangpalmer-dabbelt
authored andcommitted
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>
1 parent 9d8c7d9 commit 1adbc29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ endchoice
314314
# Common NUMA Features
315315
config NUMA
316316
bool "NUMA Memory Allocation and Scheduler Support"
317-
depends on SMP
317+
depends on SMP && MMU
318318
select GENERIC_ARCH_NUMA
319319
select OF_NUMA
320320
select ARCH_SUPPORTS_NUMA_BALANCING

0 commit comments

Comments
 (0)