summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/kvm.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-08-08 15:04:19 -0700
committerDave Hansen <dave.hansen@linux.intel.com>2023-08-09 12:00:46 -0700
commitbef4f379e953af49a9bd81790954e78fcb264920 (patch)
tree6f12836bb19fccaba438dc686b7aa3bbf73cb156 /arch/x86/kernel/kvm.c
parent3b5244bef15e0ec2b51ae5ea4182e1b674d01551 (diff)
x86/apic: Provide apic_update_callback()
There are already two variants of update mechanism for particular callbacks and virtualization just writes into the data structure. Provide an interface and use a shadow data structure to preserve callbacks so they can be reapplied when the APIC driver is replaced. The extra data structure is intentional as any new callback needs to be also updated in the core code. This also prepares for static calls. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Sohil Mehta <sohil.mehta@intel.com> Tested-by: Juergen Gross <jgross@suse.com> # Xen PV (dom0 and unpriv. guest)
Diffstat (limited to 'arch/x86/kernel/kvm.c')
0 files changed, 0 insertions, 0 deletions