summaryrefslogtreecommitdiff
path: root/arch/x86/hyperv/hv_vtl.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-08-09 01:04:20 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2023-08-09 22:00:46 +0300
commit2744a7ce34a776444225f20ae11ead6e980a129a (patch)
tree0830e7bd9971d67d55437da4bf1886e19e4ca1a3 /arch/x86/hyperv/hv_vtl.c
parentbef4f379e953af49a9bd81790954e78fcb264920 (diff)
downloadlinux-2744a7ce34a776444225f20ae11ead6e980a129a.tar.xz
x86/apic: Replace acpi_wake_cpu_handler_update() and apic_set_eoi_cb()
Switch them over to apic_update_callback() and remove the code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Wei Liu <wei.liu@kernel.org> 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/hv_vtl.c')
-rw-r--r--arch/x86/hyperv/hv_vtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/hyperv/hv_vtl.c b/arch/x86/hyperv/hv_vtl.c
index 85d38b9f3586..9976b771a23a 100644
--- a/arch/x86/hyperv/hv_vtl.c
+++ b/arch/x86/hyperv/hv_vtl.c
@@ -222,7 +222,7 @@ static int __init hv_vtl_early_init(void)
"Please add 'noxsave' to the kernel command line.\n");
real_mode_header = &hv_vtl_real_mode_header;
- apic->wakeup_secondary_cpu_64 = hv_vtl_wakeup_secondary_cpu;
+ apic_update_callback(wakeup_secondary_cpu_64, hv_vtl_wakeup_secondary_cpu);
return 0;
}