未验证 提交 69868418 编写于 作者: K Kefeng Wang 提交者: Palmer Dabbelt

riscv: Make SYS_SUPPORTS_HUGETLBFS depends on MMU

HUGETLBFS only used when MMU enabled, add the dependency.
Reported-by: NHulk Robot <hulkci@huawei.com>
Signed-off-by: NKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: NPalmer Dabbelt <palmerdabbelt@google.com>
上级 21e24140
...@@ -136,6 +136,7 @@ config ARCH_SUPPORTS_DEBUG_PAGEALLOC ...@@ -136,6 +136,7 @@ config ARCH_SUPPORTS_DEBUG_PAGEALLOC
def_bool y def_bool y
config SYS_SUPPORTS_HUGETLBFS config SYS_SUPPORTS_HUGETLBFS
depends on MMU
def_bool y def_bool y
config STACKTRACE_SUPPORT config STACKTRACE_SUPPORT
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册