[PATCH] riscv: Make NUMA depend on MMU
Palmer Dabbelt
palmer at dabbelt.com
Fri Apr 2 05:33:37 BST 2021
On Tue, 30 Mar 2021 06:25:31 PDT (-0700), wangkefeng.wang at 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 at intel.com>
> Signed-off-by: Kefeng Wang <wangkefeng.wang at 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.
More information about the linux-riscv
mailing list