From: Huacai Chen Date: Tue, 19 Mar 2024 07:50:34 +0000 (+0800) Subject: LoongArch: Select HAVE_ARCH_USERFAULTFD_MINOR in Kconfig X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f48ad26e5e57016b447461f22ecf7c3ed8337353;p=linux.git LoongArch: Select HAVE_ARCH_USERFAULTFD_MINOR in Kconfig This allocates the VM flag needed to support the userfaultfd minor fault functionality. See commit 7677f7fd8be7665 ("userfaultfd: add minor fault registration mode") for more information. Signed-off-by: Huacai Chen --- diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig index 6df2b421895a1..526a88598fbfc 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -105,6 +105,7 @@ config LOONGARCH select HAVE_ARCH_SECCOMP_FILTER select HAVE_ARCH_TRACEHOOK select HAVE_ARCH_TRANSPARENT_HUGEPAGE + select HAVE_ARCH_USERFAULTFD_MINOR if USERFAULTFD select HAVE_ASM_MODVERSIONS select HAVE_CONTEXT_TRACKING_USER select HAVE_C_RECORDMCOUNT