[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1378915649-16395-24-git-send-email-liuj97@gmail.com>
Date: Thu, 12 Sep 2013 00:07:27 +0800
From: Jiang Liu <liuj97@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Shaohua Li <shli@...nel.org>
Cc: liuj97@...il.com, Jiang Liu <jiang.liu@...wei.com>,
Ingo Molnar <mingo@...e.hu>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Steven Rostedt <rostedt@...dmis.org>,
Jiri Kosina <trivial@...nel.org>,
Wang YanQing <udknight@...il.com>,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: [RFC PATCH v2 23/25] smp: cleanup unsued generic_smp_call_function_single_interrupt()
From: Jiang Liu <jiang.liu@...wei.com>
Now we have killed all usage of generic_smp_call_function_single_interrupt()
from arch code, so kill it.
Signed-off-by: Jiang Liu <jiang.liu@...wei.com>
Cc: Jiang Liu <liuj97@...il.com>
---
include/linux/smp.h | 4 +---
kernel/smp.c | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/include/linux/smp.h b/include/linux/smp.h
index c181399..3b6226c 100644
--- a/include/linux/smp.h
+++ b/include/linux/smp.h
@@ -87,9 +87,7 @@ void kick_all_cpus_sync(void);
*/
#ifdef CONFIG_USE_GENERIC_SMP_HELPERS
void __init call_function_init(void);
-void generic_smp_call_function_single_interrupt(void);
-#define generic_smp_call_function_interrupt \
- generic_smp_call_function_single_interrupt
+void generic_smp_call_function_interrupt(void);
#else
static inline void call_function_init(void) { }
#endif
diff --git a/kernel/smp.c b/kernel/smp.c
index a034712..9fbf12a 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -165,7 +165,7 @@ void generic_exec_single(int cpu, struct call_single_data *csd, int wait)
* Invoked by arch to handle an IPI for call function single. Must be
* called from the arch with interrupts disabled.
*/
-void generic_smp_call_function_single_interrupt(void)
+void generic_smp_call_function_interrupt(void)
{
struct call_single_queue *q = &__get_cpu_var(call_single_queue);
LIST_HEAD(list);
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists