Skip to content

Commit f01e631

Browse files
RISC-V: Make NUMA depend on SMP
In theory these are orthogonal, but in practice all NUMA systems are SMP. NUMA && !SMP doesn't build, everyone else is coupling them, and I don't really see any value in supporting that configuration. Fixes: 4f0e8ee ("riscv: Add numa support for riscv64 platform") Suggested-by: Andrew Morton <akpm@linux-foundation.org> Suggested-by: Atish Patra <atishp@atishpatra.org> Reported-by: Kefeng Wang <wangkefeng.wang@huawei.com> Tested-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
1 parent 8b83369 commit f01e631

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/riscv/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ endchoice
314314
# Common NUMA Features
315315
config NUMA
316316
bool "NUMA Memory Allocation and Scheduler Support"
317+
depends on SMP
317318
select GENERIC_ARCH_NUMA
318319
select OF_NUMA
319320
select ARCH_SUPPORTS_NUMA_BALANCING

0 commit comments

Comments
 (0)