lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 16 Dec 2013 00:36:38 +0800
From:	Jiang Liu <liuj97@...il.com>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Shaohua Li <shli@...nel.org>,
	David Daney <david.daney@...ium.com>,
	Michal Hocko <mhocko@...e.cz>,
	liguang <lig.fnst@...fujitsu.com>,
	Christoph Hellwig <hch@....de>, Ingo Molnar <mingo@...nel.org>,
	Wang YanQing <udknight@...il.com>,
	Jiang Liu <jiang.liu@...wei.com>, linux-kernel@...r.kernel.org
Cc:	Ingo Molnar <mingo@...e.hu>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Steven Rostedt <rostedt@...dmis.org>,
	Jiri Kosina <trivial@...nel.org>, linux-arch@...r.kernel.org,
	Jiang Liu <liuj97@...il.com>
Subject: [PATCH v3 [resend] 16/18] 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>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Shaohua Li <shli@...nel.org>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Ingo Molnar <mingo@...e.hu>
Cc: Steven Rostedt <rostedt@...dmis.org>
Cc: Jiri Kosina <trivial@...nel.org>
Signed-off-by: Jiang Liu <liuj97@...il.com>
---
 include/linux/smp.h | 7 ++++---
 kernel/smp.c        | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/include/linux/smp.h b/include/linux/smp.h
index 5da22ee..5261608 100644
--- a/include/linux/smp.h
+++ b/include/linux/smp.h
@@ -107,9 +107,10 @@ void kick_all_cpus_sync(void);
  * Generic and arch 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 smp_call_function_interrupt(void);
+#define generic_smp_call_function_interrupt	smp_call_function_interrupt
+#define generic_smp_call_function_single_interrupt \
+	smp_call_function_interrupt
 
 /*
  * Mark the boot cpu "online" so that it can call console drivers in
diff --git a/kernel/smp.c b/kernel/smp.c
index 25c19af..144a427 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -167,7 +167,7 @@ static 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 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

Powered by Openwall GNU/*/Linux Powered by OpenVZ