]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfed32a3d513c196078af92644d69f58dffe88397
treeeb53bd053af83574b3c3f9424b8fe0385a1df4c2
parentf05c04b8c9f7f5d794d39e50a26780a90bc623ee
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