[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <158731175026.28353.13223791220426564135.tip-bot2@tip-bot2>
Date: Sun, 19 Apr 2020 15:55:50 -0000
From: "tip-bot2 for Kaitao Cheng" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Kaitao Cheng <pilgrimtao@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [tip: smp/core] smp: Use smp_call_func_t in on_each_cpu()
The following commit has been merged into the smp/core branch of tip:
Commit-ID: 58eb7b77ad01f058e523554cb7bae7272a7d2579
Gitweb: https://git.kernel.org/tip/58eb7b77ad01f058e523554cb7bae7272a7d2579
Author: Kaitao Cheng <pilgrimtao@...il.com>
AuthorDate: Sat, 18 Apr 2020 00:24:51 +08:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Sun, 19 Apr 2020 17:51:48 +02:00
smp: Use smp_call_func_t in on_each_cpu()
Use smp_call_func_t instead of the open coded function pointer argument.
Signed-off-by: Kaitao Cheng <pilgrimtao@...il.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Acked-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Link: https://lkml.kernel.org/r/20200417162451.91969-1-pilgrimtao@gmail.com
---
kernel/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/smp.c b/kernel/smp.c
index 786092a..8430319 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -620,7 +620,7 @@ void __init smp_init(void)
* early_boot_irqs_disabled is set. Use local_irq_save/restore() instead
* of local_irq_disable/enable().
*/
-void on_each_cpu(void (*func) (void *info), void *info, int wait)
+void on_each_cpu(smp_call_func_t func, void *info, int wait)
{
unsigned long flags;
Powered by blists - more mailing lists