[PATCH v3 [resend] 10/18] smp, mn10300: enable arch_send_call_function_ipi_mask()

Jiang Liu
2013-12-15T16:43:14Z

Enable arch_send_call_function_ipi_mask() on mn10300 to support
smp_call_function_many().

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Shaohua Li <shli@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Jiri Kosina <trivial@kernel.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Cc: linux-am33-list@redhat.com
Signed-off-by: Jiang Liu <liuj97@gmail.com>
---
arch/mn10300/kernel/smp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/mn10300/kernel/smp.c b/arch/mn10300/kernel/smp.c
index 7ae353d..b827b68 100644
--- a/arch/mn10300/kernel/smp.c
+++ b/arch/mn10300/kernel/smp.c
@@ -356,8 +356,7 @@ void send_IPI_allbutself(int irq)

void arch_send_call_function_ipi_mask(const struct cpumask *mask)
{
- BUG();
- /*send_IPI_mask(mask, CALL_FUNCTION_IPI);*/
+ send_IPI_mask(mask, CALL_FUNC_IPI);
}

void arch_send_call_function_single_ipi(int cpu)
--
1.8.1.2