diff options
author | 2020-05-11 10:19:58 +0800 | |
---|---|---|
committer | 2020-05-12 17:41:24 -0700 | |
commit | 69868418e14873638f7fb54e79b3390624af4824 (patch) | |
tree | 4b7f6376b79ded1e851e8b4884f6552f7f25c862 /arch | |
parent | riscv: Disable ARCH_HAS_DEBUG_VIRTUAL if NOMMU (diff) | |
download | linux-69868418e14873638f7fb54e79b3390624af4824.tar.gz linux-69868418e14873638f7fb54e79b3390624af4824.tar.bz2 linux-69868418e14873638f7fb54e79b3390624af4824.zip |
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 |