1 # SPDX-License-Identifier: GPL-2.0
3 # Prevent the noinstr section from being pestered by sanitizer and other goodies
4 # as long as these things cannot be disabled per function.
9 CFLAGS_REMOVE_common.o
= -fstack-protector
-fstack-protector-strong
10 CFLAGS_common.o
+= -fno-stack-protector
12 obj-
$(CONFIG_GENERIC_ENTRY
) += common.o syscall_user_dispatch.o
13 obj-
$(CONFIG_KVM_XFER_TO_GUEST_WORK
) += kvm.o