diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2023-08-08 15:04:07 -0700 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2023-08-09 11:58:29 -0700 |
| commit | 96ae35c75bdd8a327c686cf39030d8ed7f82f558 (patch) | |
| tree | 44662cac5222b8e2c7bf72d3da73a7bd041ec89d /arch/x86/kernel/apic/local.h | |
| parent | 194ac709819c1fe281397ce1b2894f2bb6413599 (diff) | |
| download | linux-96ae35c75bdd8a327c686cf39030d8ed7f82f558.tar.gz linux-96ae35c75bdd8a327c686cf39030d8ed7f82f558.tar.bz2 linux-96ae35c75bdd8a327c686cf39030d8ed7f82f558.zip | |
x86/apic/x2apic: Share all common IPI functions
Yet more copy and pasta gone.
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/kernel/apic/local.h')
| -rw-r--r-- | arch/x86/kernel/apic/local.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/local.h b/arch/x86/kernel/apic/local.h index 98cfe7860d90..a250675cd97e 100644 --- a/arch/x86/kernel/apic/local.h +++ b/arch/x86/kernel/apic/local.h @@ -19,8 +19,10 @@ void __x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest); 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_all(int vector); +void x2apic_send_IPI_allbutself(int vector); void x2apic_send_IPI_self(int vector); -void __x2apic_send_IPI_shorthand(int vector, u32 which); /* IPI */ |
