Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758189Ab1DYJ2q (ORCPT ); Mon, 25 Apr 2011 05:28:46 -0400 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:44163 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758137Ab1DYJ2o (ORCPT ); Mon, 25 Apr 2011 05:28:44 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: KOSAKI Motohiro Subject: [PATCH 1/4] blackfin: remove unused function Cc: kosaki.motohiro@jp.fujitsu.com, Michael Hennerich , device-driver-devel@blackfin.uclinux.org, LKML , Andrew Morton In-Reply-To: <20110425182906.2673.A69D9226@jp.fujitsu.com> References: <20110425182906.2673.A69D9226@jp.fujitsu.com> Message-Id: <20110425183018.2677.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.56.05 [ja] Date: Mon, 25 Apr 2011 18:28:42 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1954 Lines: 61 platform_send_ipi() has old call-by-value cpumask_t fashon and it's unused. Then, this patch removes it. Signed-off-by: KOSAKI Motohiro Cc: Michael Hennerich Cc: device-driver-devel@blackfin.uclinux.org --- arch/blackfin/mach-bf561/include/mach/smp.h | 2 -- arch/blackfin/mach-bf561/smp.c | 13 ------------- 2 files changed, 0 insertions(+), 15 deletions(-) diff --git a/arch/blackfin/mach-bf561/include/mach/smp.h b/arch/blackfin/mach-bf561/include/mach/smp.h index 346c605..36e2ac5 100644 --- a/arch/blackfin/mach-bf561/include/mach/smp.h +++ b/arch/blackfin/mach-bf561/include/mach/smp.h @@ -21,8 +21,6 @@ void platform_secondary_init(unsigned int cpu); void platform_request_ipi(int irq, /*irq_handler_t*/ void *handler); -void platform_send_ipi(cpumask_t callmap, int irq); - void platform_send_ipi_cpu(unsigned int cpu, int irq); void platform_clear_ipi(unsigned int cpu, int irq); diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c index 7b07740..630e2c2 100644 --- a/arch/blackfin/mach-bf561/smp.c +++ b/arch/blackfin/mach-bf561/smp.c @@ -116,19 +116,6 @@ void __init platform_request_ipi(int irq, void *handler) panic("Cannot request %s for IPI service", name); } -void platform_send_ipi(cpumask_t callmap, int irq) -{ - unsigned int cpu; - int offset = (irq == IRQ_SUPPLE_0) ? 6 : 8; - - for_each_cpu_mask(cpu, callmap) { - BUG_ON(cpu >= 2); - SSYNC(); - bfin_write_SICB_SYSCR(bfin_read_SICB_SYSCR() | (1 << (offset + cpu))); - SSYNC(); - } -} - void platform_send_ipi_cpu(unsigned int cpu, int irq) { int offset = (irq == IRQ_SUPPLE_0) ? 6 : 8; -- 1.7.3.1 -- 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/