mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 11:56:45 +07:00
5393744b71
Now that x86-64 has directly accessible percpu variables, it can also implement the direct versions of these operations, which operate on a vcpu_info structure directly embedded in the percpu area. In fact, the 64-bit versions are more or less identical, and so can be shared. The only two differences are: 1. xen_restore_fl_direct takes its argument in eax on 32-bit, and rdi on 64-bit. Unfortunately it isn't possible to directly refer to the 2nd lsb of rdi directly (as you can with %ah), so the code isn't quite as dense. 2. check_events needs to variants to save different registers. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
13 lines
369 B
Makefile
13 lines
369 B
Makefile
ifdef CONFIG_FUNCTION_TRACER
|
|
# Do not profile debug and lowlevel utilities
|
|
CFLAGS_REMOVE_spinlock.o = -pg
|
|
CFLAGS_REMOVE_time.o = -pg
|
|
CFLAGS_REMOVE_irq.o = -pg
|
|
endif
|
|
|
|
obj-y := enlighten.o setup.o multicalls.o mmu.o irq.o \
|
|
time.o xen-asm.o xen-asm_$(BITS).o \
|
|
grant-table.o suspend.o
|
|
|
|
obj-$(CONFIG_SMP) += smp.o spinlock.o
|
|
obj-$(CONFIG_XEN_DEBUG_FS) += debugfs.o
|