Skip to content

Commit

Permalink
riscv: Make SYS_SUPPORTS_HUGETLBFS depends on MMU
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kefeng Wang authored and Palmer Dabbelt committed May 13, 2020
1 parent 21e2414 commit 6986841
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/riscv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6986841

Please sign in to comment.