summaryrefslogtreecommitdiff
path: root/kernel/entry/Makefile
diff options
context:
space:
mode:
authorGregory Price <gourry@gourry.net>2026-07-06 10:00:18 -0400
committerThomas Gleixner <tglx@kernel.org>2026-07-08 10:22:00 +0200
commitee935e8dc757614006ac29a7d98a15882cdcaeb2 (patch)
tree206ddf08c8b28e1bac9fe9dc0d634dbfe7ec515d /kernel/entry/Makefile
parent8cdeaa50eae8dad34885515f62559ee83e7e8dda (diff)
downloadlinux-next-ee935e8dc757614006ac29a7d98a15882cdcaeb2.tar.gz
linux-next-ee935e8dc757614006ac29a7d98a15882cdcaeb2.zip
syscall_user_dispatch: Make it configurable in Kconfig
Syscall User Dispatch is presently built under CONFIG_GENERIC_SYSCALL and cannot be disabled independently. Add CONFIG_SYSCALL_USER_DISPATCH to make it an optional feature. Signed-off-by: Gregory Price <gourry@gourry.net> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260706140020.873735-2-gourry@gourry.net
Diffstat (limited to 'kernel/entry/Makefile')
-rw-r--r--kernel/entry/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/entry/Makefile b/kernel/entry/Makefile
index 2333d70802e4..f220bae86b12 100644
--- a/kernel/entry/Makefile
+++ b/kernel/entry/Makefile
@@ -13,5 +13,6 @@ CFLAGS_REMOVE_common.o = -fstack-protector -fstack-protector-strong
CFLAGS_common.o += -fno-stack-protector
obj-$(CONFIG_GENERIC_IRQ_ENTRY) += common.o
-obj-$(CONFIG_GENERIC_SYSCALL) += syscall-common.o syscall_user_dispatch.o
+obj-$(CONFIG_GENERIC_SYSCALL) += syscall-common.o
+obj-$(CONFIG_SYSCALL_USER_DISPATCH) += syscall_user_dispatch.o
obj-$(CONFIG_VIRT_XFER_TO_GUEST_WORK) += virt.o