riscv: Make SYS_SUPPORTS_HUGETLBFS depends on MMU
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 11 May 2020 02:19:58 +0000 (10:19 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 13 May 2020 00:41:24 +0000 (17:41 -0700)
commit69868418e14873638f7fb54e79b3390624af4824
tree4b7f6376b79ded1e851e8b4884f6552f7f25c862
parent21e2414083e2bad62956312f5c47fc8cbba76d7d
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>
arch/riscv/Kconfig