diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2021-03-30 15:25:31 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-04-02 06:37:08 +0200 |
commit | 1adbc2941eee8acbe3c7dc6b51cdbc5a9bf19565 (patch) | |
tree | 4ebf29b0783b84963ae1f8f3f9239fa88db8c6da /arch/riscv/Kconfig | |
parent | riscv: remove unneeded semicolon (diff) | |
download | linux-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/Kconfig | 2 |
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 |