Message ID | 20210330132531.67706-1-wangkefeng.wang@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | riscv: Make NUMA depend on MMU | expand |
On Tue, 30 Mar 2021 06:25:31 PDT (-0700), wangkefeng.wang@huawei.com wrote: > 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> > --- > arch/riscv/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index 0368453adc30..958676c6d5ce 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -317,7 +317,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 Thanks, this is on fixes.
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 0368453adc30..958676c6d5ce 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -317,7 +317,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
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> --- arch/riscv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)