projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d8c7d9
)
riscv: Make NUMA depend on MMU
author
Kefeng Wang
<wangkefeng.wang@huawei.com>
Tue, 30 Mar 2021 13:25:31 +0000
(21:25 +0800)
committer
Palmer Dabbelt
<palmerdabbelt@google.com>
Fri, 2 Apr 2021 04:37:08 +0000
(21:37 -0700)
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>
arch/riscv/Kconfig
patch
|
blob
|
history
diff --git
a/arch/riscv/Kconfig
b/arch/riscv/Kconfig
index
87d7b52
..
0d0cf67
100644
(file)
--- 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