mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
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
19 lines
667 B
Makefile
19 lines
667 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Prevent the noinstr section from being pestered by sanitizer and other goodies
|
|
# as long as these things cannot be disabled per function.
|
|
KASAN_SANITIZE := n
|
|
UBSAN_SANITIZE := n
|
|
KCOV_INSTRUMENT := n
|
|
|
|
# Branch profiling isn't noinstr-safe
|
|
ccflags-$(CONFIG_TRACE_BRANCH_PROFILING) += -DDISABLE_BRANCH_PROFILING
|
|
|
|
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
|
|
obj-$(CONFIG_SYSCALL_USER_DISPATCH) += syscall_user_dispatch.o
|
|
obj-$(CONFIG_VIRT_XFER_TO_GUEST_WORK) += virt.o
|