summaryrefslogtreecommitdiff
path: root/arch/x86/hyperv
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2023-08-09 08:21:45 -0700
committerDave Hansen <dave.hansen@linux.intel.com>2023-08-09 12:00:55 -0700
commit28b8235238fa39a1b5c5820e7f5b14e7f104aac0 (patch)
treec5159d7fe8a080a941f4da64969838337ae1f0c8 /arch/x86/hyperv
parent54271fb0b78511048aa7910d593994f2ca055e68 (diff)
downloadlinux-28b8235238fa39a1b5c5820e7f5b14e7f104aac0.tar.gz
linux-28b8235238fa39a1b5c5820e7f5b14e7f104aac0.tar.bz2
linux-28b8235238fa39a1b5c5820e7f5b14e7f104aac0.zip
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 <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')
-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)