Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1262704

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

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject [patch 13/14] x86/apic: Use default send single IPI wrapper
Date 2015-11-05 00:00 +0100
Message-ID <qrfc6-6Fb-33@gated-at.bofh.it> (permalink)
References <qrfc5-6Fb-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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,


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[patch 13/14] x86/apic: Use default send single IPI wrapper Thomas Gleixner <tglx@linutronix.de> - 2015-11-05 00:00 +0100
  [tip:x86/apic] x86/apic: Use default send single IPI wrapper tip-bot for Thomas Gleixner <tipbot@zytor.com> - 2015-11-05 15:50 +0100

csiph-web