From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiang Liu Subject: [RFC PATCH v2 13/25] smp, mn10300: enable arch_send_call_function_ipi_mask() Date: Thu, 12 Sep 2013 00:07:17 +0800 Message-ID: <1378915649-16395-14-git-send-email-liuj97@gmail.com> References: <1378915649-16395-1-git-send-email-liuj97@gmail.com> Return-path: In-Reply-To: <1378915649-16395-1-git-send-email-liuj97@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Andrew Morton , David Howells , Koichi Yasutake , Shaohua Li Cc: liuj97@gmail.com, Jiang Liu , Ingo Molnar , Peter Zijlstra , Steven Rostedt , Jiri Kosina , Wang YanQing , linux-am33-list@redhat.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org List-Id: linux-arch.vger.kernel.org From: Jiang Liu Enable arch_send_call_function_ipi_mask() on mn10300 to support smp_call_function_many(). Signed-off-by: Jiang Liu Cc: Jiang Liu --- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f174.google.com ([209.85.192.174]:64240 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756521Ab3IKQJx (ORCPT ); Wed, 11 Sep 2013 12:09:53 -0400 From: Jiang Liu Subject: [RFC PATCH v2 13/25] smp, mn10300: enable arch_send_call_function_ipi_mask() Date: Thu, 12 Sep 2013 00:07:17 +0800 Message-ID: <1378915649-16395-14-git-send-email-liuj97@gmail.com> In-Reply-To: <1378915649-16395-1-git-send-email-liuj97@gmail.com> References: <1378915649-16395-1-git-send-email-liuj97@gmail.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Andrew Morton , David Howells , Koichi Yasutake , Shaohua Li Cc: liuj97@gmail.com, Jiang Liu , Ingo Molnar , Peter Zijlstra , Steven Rostedt , Jiri Kosina , Wang YanQing , linux-am33-list@redhat.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Message-ID: <20130911160717.74zK1zDXQiPHhheadcsnaXEtiBnxiThf8vyE1eZqmFE@z> From: Jiang Liu Enable arch_send_call_function_ipi_mask() on mn10300 to support smp_call_function_many(). Signed-off-by: Jiang Liu Cc: Jiang Liu --- 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