^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Prevent the noinstr section from being pestered by sanitizer and other goodies
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) # as long as these things cannot be disabled per function.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) KASAN_SANITIZE := n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) UBSAN_SANITIZE := n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) KCOV_INSTRUMENT := n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) CFLAGS_REMOVE_common.o = -fstack-protector -fstack-protector-strong
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) CFLAGS_common.o += -fno-stack-protector
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) obj-$(CONFIG_GENERIC_ENTRY) += common.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) obj-$(CONFIG_KVM_XFER_TO_GUEST_WORK) += kvm.o