diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-07-22 20:47:23 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-07-25 16:12:00 +0200 |
commit | 22ca7ee933a39f542ff6f81fc64f8036eff56519 (patch) | |
tree | eb53bd053af83574b3c3f9424b8fe0385a1df4c2 /arch/x86/kernel/kgdb.c | |
parent | 6a1cb5f5c6413222b8532722562dd1edb5fdfd38 (diff) | |
download | blackbird-op-linux-22ca7ee933a39f542ff6f81fc64f8036eff56519.tar.gz blackbird-op-linux-22ca7ee933a39f542ff6f81fc64f8036eff56519.zip |
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
Diffstat (limited to 'arch/x86/kernel/kgdb.c')
-rw-r--r-- | arch/x86/kernel/kgdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c index a53dfb09880f..c44fe7d8d9a4 100644 --- a/arch/x86/kernel/kgdb.c +++ b/arch/x86/kernel/kgdb.c @@ -416,7 +416,7 @@ static void kgdb_disable_hw_debug(struct pt_regs *regs) */ void kgdb_roundup_cpus(void) { - apic->send_IPI_allbutself(NMI_VECTOR); + apic_send_IPI_allbutself(NMI_VECTOR); } #endif |