summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/apic/local.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-07-22 20:47:30 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-07-25 16:12:02 +0200
commit43931d350f30c6cd8c2f498d54ef7d65750abc92 (patch)
tree47f3517ac4272325325b2f1d474dd2a270c12bd3 /arch/x86/kernel/apic/local.h
parent2510d09e9dabc265341f164e0b45b2dfdcb7ef36 (diff)
x86/apic/x2apic: Implement IPI shorthands support
All callers of apic->send_IPI_all() and apic->send_IPI_allbutself() contain the decision logic for shorthand invocation already and invoke send_IPI_mask() if the prereqisites are not satisfied. Implement shorthand support for x2apic. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20190722105221.134696837@linutronix.de
Diffstat (limited to 'arch/x86/kernel/apic/local.h')
-rw-r--r--arch/x86/kernel/apic/local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/local.h b/arch/x86/kernel/apic/local.h
index 69ba777cef98..04797f05ce94 100644
--- a/arch/x86/kernel/apic/local.h
+++ b/arch/x86/kernel/apic/local.h
@@ -23,6 +23,7 @@ unsigned int x2apic_get_apic_id(unsigned long id);
u32 x2apic_set_apic_id(unsigned int id);
int x2apic_phys_pkg_id(int initial_apicid, int index_msb);
void x2apic_send_IPI_self(int vector);
+void __x2apic_send_IPI_shorthand(int vector, u32 which);
/* IPI */