linux-mips
[Top] [All Lists]

[RFC PATCH v2 11/25] smp, mips: kill redundant call of generic_smp_call_

To: Andrew Morton <akpm@linux-foundation.org>, Ralf Baechle <ralf@linux-mips.org>, Shaohua Li <shli@kernel.org>
Subject: [RFC PATCH v2 11/25] smp, mips: kill redundant call of generic_smp_call_function_single_interrupt()
From: Jiang Liu <liuj97@gmail.com>
Date: Thu, 12 Sep 2013 00:07:15 +0800
Cc: liuj97@gmail.com, Jiang Liu <jiang.liu@huawei.com>, Ingo Molnar <mingo@elte.hu>, Peter Zijlstra <a.p.zijlstra@chello.nl>, Steven Rostedt <rostedt@goodmis.org>, Jiri Kosina <trivial@kernel.org>, Wang YanQing <udknight@gmail.com>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
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=hDB2FA95ldzs2K8vcq9VeEdnBQxIqVFZMw4Khkb+DaQ=; b=vk//IEB0iXLsmHaJkYyh3V+hjuaoHRdZmA0VhVcSQWUDv7eGbtfxg8Z1PBHN4aiC0h fDGXGOMQrvw2NB7fJg0NR2LuyLDGMYYHbxAfh4QHemvd076UKLFXlZ3bcZViYv7IXcD5 rhQTCL+wxn11UIHIY4rLcyIdMEVMzQWv4HhKKlcnwqNZMydN4MCZsSUEpBAldCssRO9R ZCE7KJBT4zvnMsE2B3iAYpKOJitubcAPgjOoTL3kmb+EaW/FUhVYF0HEdv8FwyofyNr+ gNmKphhOq1gki9iRn8v7ClT0yFy1jD/hqEtg86xYSEtLQSym1Kcuvkc0xTQVBkjBkigR FdXA==
In-reply-to: <1378915649-16395-1-git-send-email-liuj97@gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1378915649-16395-1-git-send-email-liuj97@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: Jiang Liu <jiang.liu@huawei.com>

Since commit 9a46ad6d6df3b54 "smp: make smp_call_function_many() use
logic similar to smp_call_function_single()",
generic_smp_call_function_single_interrupt() is an alias of
generic_smp_call_function_interrupt(), so kill the redundant call.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Cc: Jiang Liu <liuj97@gmail.com>
---
 arch/mips/kernel/smp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
index 5c208ed..0a022ee 100644
--- a/arch/mips/kernel/smp.c
+++ b/arch/mips/kernel/smp.c
@@ -150,7 +150,6 @@ asmlinkage void start_secondary(void)
 void __irq_entry smp_call_function_interrupt(void)
 {
        irq_enter();
-       generic_smp_call_function_single_interrupt();
        generic_smp_call_function_interrupt();
        irq_exit();
 }
-- 
1.8.1.2


<Prev in Thread] Current Thread [Next in Thread>
  • [RFC PATCH v2 11/25] smp, mips: kill redundant call of generic_smp_call_function_single_interrupt(), Jiang Liu <=