From: Kefeng Wang Date: Mon, 11 May 2020 02:19:58 +0000 (+0800) Subject: riscv: Make SYS_SUPPORTS_HUGETLBFS depends on MMU X-Git-Tag: v5.10.7~2632^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69868418e14873638f7fb54e79b3390624af4824;p=platform%2Fkernel%2Flinux-rpi.git riscv: Make SYS_SUPPORTS_HUGETLBFS depends on MMU HUGETLBFS only used when MMU enabled, add the dependency. Reported-by: Hulk Robot Signed-off-by: Kefeng Wang Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 24f5a834..a31e1a4 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -136,6 +136,7 @@ config ARCH_SUPPORTS_DEBUG_PAGEALLOC def_bool y config SYS_SUPPORTS_HUGETLBFS + depends on MMU def_bool y config STACKTRACE_SUPPORT