Skip to content

Commit f48ad26

Browse files
committed
LoongArch: Select HAVE_ARCH_USERFAULTFD_MINOR in Kconfig
This allocates the VM flag needed to support the userfaultfd minor fault functionality. See commit 7677f7f ("userfaultfd: add minor fault registration mode") for more information. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
1 parent 8b5db5e commit f48ad26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/loongarch/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ config LOONGARCH
105105
select HAVE_ARCH_SECCOMP_FILTER
106106
select HAVE_ARCH_TRACEHOOK
107107
select HAVE_ARCH_TRANSPARENT_HUGEPAGE
108+
select HAVE_ARCH_USERFAULTFD_MINOR if USERFAULTFD
108109
select HAVE_ASM_MODVERSIONS
109110
select HAVE_CONTEXT_TRACKING_USER
110111
select HAVE_C_RECORDMCOUNT

0 commit comments

Comments
 (0)