Skip to content

Commit 6986841

Browse files
Kefeng Wangpalmer-dabbelt
authored andcommitted
riscv: Make SYS_SUPPORTS_HUGETLBFS depends on MMU
HUGETLBFS only used when MMU enabled, add the dependency. Reported-by: Hulk Robot <[email protected]> Signed-off-by: Kefeng Wang <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 21e2414 commit 6986841

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ config ARCH_SUPPORTS_DEBUG_PAGEALLOC
136136
def_bool y
137137

138138
config SYS_SUPPORTS_HUGETLBFS
139+
depends on MMU
139140
def_bool y
140141

141142
config STACKTRACE_SUPPORT

0 commit comments

Comments
 (0)