mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-25 23:53:15 -04:00
Move the VMX interrupt dispatch magic into the x86 core code. This isolates KVM from the FRED/IDT decisions and reduces the amount of EXPORT_SYMBOL_FOR_KVM(). Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Tested-by: "Verma, Vishal L" <vishal.l.verma@intel.com> Tested-by: Zhao Liu <zhao1.liu@intel.com> Tested-by: Zhao Liu <zhao1.liu@intel.com> Tested-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Binbin Wu <binbin.wu@linxu.intel.com> Acked-by: Sean Christopherson <seanjc@google.com> Link: https://patch.msgid.link/20260508091829.GO3126523@noisy.programming.kicks-ass.net
27 lines
693 B
Makefile
27 lines
693 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the x86 low level entry code
|
|
#
|
|
|
|
KASAN_SANITIZE := n
|
|
UBSAN_SANITIZE := n
|
|
KCOV_INSTRUMENT := n
|
|
|
|
CFLAGS_REMOVE_syscall_32.o = $(CC_FLAGS_FTRACE)
|
|
CFLAGS_REMOVE_syscall_64.o = $(CC_FLAGS_FTRACE)
|
|
|
|
CFLAGS_syscall_32.o += -fno-stack-protector
|
|
CFLAGS_syscall_64.o += -fno-stack-protector
|
|
|
|
obj-y := entry.o entry_$(BITS).o syscall_$(BITS).o common.o
|
|
|
|
obj-y += vdso/
|
|
obj-y += vsyscall/
|
|
|
|
obj-$(CONFIG_PREEMPTION) += thunk.o
|
|
CFLAGS_entry_fred.o += -fno-stack-protector
|
|
CFLAGS_REMOVE_entry_fred.o += -pg $(CC_FLAGS_FTRACE)
|
|
obj-$(CONFIG_X86_FRED) += entry_64_fred.o entry_fred.o
|
|
|
|
obj-$(CONFIG_IA32_EMULATION) += entry_64_compat.o syscall_32.o
|