diff options
author | Kefeng Wang | 2020-05-11 10:19:58 +0800 |
---|---|---|
committer | Palmer Dabbelt | 2020-05-12 17:41:24 -0700 |
commit | 69868418e14873638f7fb54e79b3390624af4824 (patch) | |
tree | 4b7f6376b79ded1e851e8b4884f6552f7f25c862 /arch | |
parent | 21e2414083e2bad62956312f5c47fc8cbba76d7d (diff) |
riscv: Make SYS_SUPPORTS_HUGETLBFS depends on MMU
HUGETLBFS only used when MMU enabled, add the dependency.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 24f5a8345477..a31e1a41913a 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 |