aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/hyperv/hv_spinlock.c
diff options
context:
space:
mode:
authorDave Hansen <[email protected]>2023-08-09 08:21:45 -0700
committerDave Hansen <[email protected]>2023-08-09 12:00:55 -0700
commit28b8235238fa39a1b5c5820e7f5b14e7f104aac0 (patch)
treec5159d7fe8a080a941f4da64969838337ae1f0c8 /arch/x86/hyperv/hv_spinlock.c
parent54271fb0b78511048aa7910d593994f2ca055e68 (diff)
x86/apic: Wrap IPI calls into helper functions
Move them to one place so the static call conversion gets simpler. No functional change. [ dhansen: merge against recent x86/apic changes ] Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Michael Kelley <[email protected]> Tested-by: Sohil Mehta <[email protected]> Tested-by: Juergen Gross <[email protected]> # Xen PV (dom0 and unpriv. guest)
Diffstat (limited to 'arch/x86/hyperv/hv_spinlock.c')
-rw-r--r--arch/x86/hyperv/hv_spinlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/hyperv/hv_spinlock.c b/arch/x86/hyperv/hv_spinlock.c
index 91cfe698bde0..737d6f7a6155 100644
--- a/arch/x86/hyperv/hv_spinlock.c
+++ b/arch/x86/hyperv/hv_spinlock.c
@@ -20,7 +20,7 @@ static bool __initdata hv_pvspin = true;
static void hv_qlock_kick(int cpu)
{
- apic->send_IPI(cpu, X86_PLATFORM_IPI_VECTOR);
+ __apic_send_IPI(cpu, X86_PLATFORM_IPI_VECTOR);
}
static void hv_qlock_wait(u8 *byte, u8 val)