summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorLain "Fearyncess" Yang <fearyncess@aosc.io>2026-02-10 19:31:12 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-02-10 19:31:12 +0800
commitabca6583a2aa00ed856907d86446ae527442a754 (patch)
tree934092bda57ed102532a9a43550b08481a4c3d2f /tools/testing
parent52c1dbf4cb8e9c1df2a911bc8938efaeff51dfbb (diff)
LoongArch: Wire up memfd_secret system call
LoongArch supports ARCH_HAS_SET_DIRECT_MAP, therefore wire up the memfd_secret system call, which just depends on it. Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Acked-by: David Hildenbrand (Red Hat) <david@kernel.org> Signed-off-by: Lain "Fearyncess" Yang <fearyncess@aosc.io> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/mm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/mm/Makefile b/tools/testing/selftests/mm/Makefile
index eaf9312097f7..79582438efc4 100644
--- a/tools/testing/selftests/mm/Makefile
+++ b/tools/testing/selftests/mm/Makefile
@@ -72,7 +72,7 @@ TEST_GEN_FILES += madv_populate
TEST_GEN_FILES += map_fixed_noreplace
TEST_GEN_FILES += map_hugetlb
TEST_GEN_FILES += map_populate
-ifneq (,$(filter $(ARCH),arm64 riscv riscv64 x86 x86_64))
+ifneq (,$(filter $(ARCH),arm64 riscv riscv64 x86 x86_64 loongarch32 loongarch64))
TEST_GEN_FILES += memfd_secret
endif
TEST_GEN_FILES += migration