[patch 13/14] x86/apic: Use default send single IPI wrapper

Thomas Gleixner
2015-11-04T22:57:56Z

[-- Attachment #1: x86-apic--Use-default-send-single-IPI-wrapper --]
[-- Type: text/plain, Size: 1319 bytes --]

Wire up the default_send_IPI_single() wrapper to the last holdouts.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
arch/x86/kernel/apic/apic_flat_64.c | 1 +
arch/x86/kernel/apic/probe_32.c | 1 +
2 files changed, 2 insertions(+)

Index: linux/arch/x86/kernel/apic/apic_flat_64.c
===================================================================
--- linux.orig/arch/x86/kernel/apic/apic_flat_64.c
+++ linux/arch/x86/kernel/apic/apic_flat_64.c
@@ -185,6 +185,7 @@ static struct apic apic_flat = {

.cpu_mask_to_apicid_and = flat_cpu_mask_to_apicid_and,

+ .send_IPI = default_send_IPI_single,
.send_IPI_mask = flat_send_IPI_mask,
.send_IPI_mask_allbutself = flat_send_IPI_mask_allbutself,
.send_IPI_allbutself = flat_send_IPI_allbutself,
Index: linux/arch/x86/kernel/apic/probe_32.c
===================================================================
--- linux.orig/arch/x86/kernel/apic/probe_32.c
+++ linux/arch/x86/kernel/apic/probe_32.c
@@ -105,6 +105,7 @@ static struct apic apic_default = {

.cpu_mask_to_apicid_and = flat_cpu_mask_to_apicid_and,

+ .send_IPI = default_send_IPI_single,
.send_IPI_mask = default_send_IPI_mask_logical,
.send_IPI_mask_allbutself = default_send_IPI_mask_allbutself_logical,
.send_IPI_allbutself = default_send_IPI_allbutself,