x86/apic: Provide and use helper for send_IPI_allbutself()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 22 Jul 2019 18:47:23 +0000 (20:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 25 Jul 2019 14:12:00 +0000 (16:12 +0200)
commit22ca7ee933a39f542ff6f81fc64f8036eff56519
treeeb53bd053af83574b3c3f9424b8fe0385a1df4c2
parent6a1cb5f5c6413222b8532722562dd1edb5fdfd38
x86/apic: Provide and use helper for send_IPI_allbutself()

To support IPI shorthands wrap invocations of apic->send_IPI_allbutself()
in a helper function, so the static key controlling the shorthand mode is
only in one place.

Fixup all callers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190722105220.492691679@linutronix.de
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/ipi.c
arch/x86/kernel/kgdb.c
arch/x86/kernel/reboot.c
arch/x86/kernel/smp.c