diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2023-08-09 01:04:19 +0300 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2023-08-09 22:00:46 +0300 |
commit | bef4f379e953af49a9bd81790954e78fcb264920 (patch) | |
tree | 6f12836bb19fccaba438dc686b7aa3bbf73cb156 /arch/x86/hyperv | |
parent | 3b5244bef15e0ec2b51ae5ea4182e1b674d01551 (diff) | |
download | linux-bef4f379e953af49a9bd81790954e78fcb264920.tar.xz |
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/hyperv')
0 files changed, 0 insertions, 0 deletions