From patchwork Wed Sep 11 16:07:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiang Liu X-Patchwork-Id: 2873761 X-Patchwork-Delegate: deller@gmx.de Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8ABE99F485 for ; Wed, 11 Sep 2013 16:14:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 44B7A201E9 for ; Wed, 11 Sep 2013 16:14:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A7FC3201EF for ; Wed, 11 Sep 2013 16:14:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755353Ab3IKQKC (ORCPT ); Wed, 11 Sep 2013 12:10:02 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:60720 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755185Ab3IKQKA (ORCPT ); Wed, 11 Sep 2013 12:10:00 -0400 Received: by mail-pa0-f45.google.com with SMTP id bg4so9449968pad.4 for ; Wed, 11 Sep 2013 09:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8suB3SnRNbUJE30Abfi/mqAnksKTu763TOWEXqEVdt8=; b=mgp3XzM2Helh1LTa59qJvK4BOkVB01hDuXovqvInJOhMcy2RKBaVX0dCMOZxUrpP8G LPt7uzlzrUPw9XbIwzkXjwgN8WWJHihJs+DsGeX6K7mBvvDt1ltECajIL+RzvDF7d8So ZTlsRE8dTMVN2ndnqWzxD/iPHBn4r/Ocvqc4pRQbvj+a1nz9FIuLFEirDZbu4cF5qZ2k XoeTdPRbM06hnQwGOHAkWgPnCcZ/+raeTyFkttb+yY46JH92LUMEAeKfJ+5PhDtPevU5 ndqeBRCmX9GEsXJLj9Yq4gpt9EEMt+rJIoze/8FQ1RXe6a2NaJ6bUoeOmwSwlxKqmufB 7ybA== X-Received: by 10.68.76.34 with SMTP id h2mr2783501pbw.20.1378915799804; Wed, 11 Sep 2013 09:09:59 -0700 (PDT) Received: from localhost.localdomain ([114.250.76.12]) by mx.google.com with ESMTPSA id u7sm12734166pbf.12.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Sep 2013 09:09:58 -0700 (PDT) From: Jiang Liu To: Andrew Morton , "James E.J. Bottomley" , Helge Deller , Shaohua Li Cc: liuj97@gmail.com, Jiang Liu , Ingo Molnar , Peter Zijlstra , Steven Rostedt , Jiri Kosina , Wang YanQing , linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: [RFC PATCH v2 14/25] smp, parisc: kill SMP single function call interrupt Date: Thu, 12 Sep 2013 00:07:18 +0800 Message-Id: <1378915649-16395-15-git-send-email-liuj97@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1378915649-16395-1-git-send-email-liuj97@gmail.com> References: <1378915649-16395-1-git-send-email-liuj97@gmail.com> Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jiang Liu Commit 9a46ad6d6df3b54 "smp: make smp_call_function_many() use logic similar to smp_call_function_single()" has unified the way to handle single and multiple cross-CPU function calls. Now only one interrupt is needed for architecture specific code to support generic SMP function call interfaces, so kill the redundant single function call interrupt. Signed-off-by: Jiang Liu Cc: Jiang Liu --- arch/parisc/kernel/smp.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index 8a252f2..2b96602 100644 --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c @@ -72,7 +72,6 @@ enum ipi_message_type { IPI_NOP=0, IPI_RESCHEDULE=1, IPI_CALL_FUNC, - IPI_CALL_FUNC_SINGLE, IPI_CPU_START, IPI_CPU_STOP, IPI_CPU_TEST @@ -164,11 +163,6 @@ ipi_interrupt(int irq, void *dev_id) generic_smp_call_function_interrupt(); break; - case IPI_CALL_FUNC_SINGLE: - smp_debug(100, KERN_DEBUG "CPU%d IPI_CALL_FUNC_SINGLE\n", this_cpu); - generic_smp_call_function_single_interrupt(); - break; - case IPI_CPU_START: smp_debug(100, KERN_DEBUG "CPU%d IPI_CPU_START\n", this_cpu); break; @@ -260,7 +254,7 @@ void arch_send_call_function_ipi_mask(const struct cpumask *mask) void arch_send_call_function_single_ipi(int cpu) { - send_IPI_single(cpu, IPI_CALL_FUNC_SINGLE); + send_IPI_single(cpu, IPI_CALL_FUNC); } /*