summaryrefslogtreecommitdiff
path: root/kernel/sched/smp.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2022-04-13 15:31:03 +0200
committerThomas Gleixner <tglx@linutronix.de>2022-05-01 10:03:43 +0200
commit16bf5a5e1ec56474ed2a19d72f272ed09a5d3ea1 (patch)
tree2b52b7341636f399a5495ccef71c6561e1d5632f /kernel/sched/smp.h
parentd664e399128bd78b905ff480917e2c2d4949e101 (diff)
smp: Rename flush_smp_call_function_from_idle()
This is invoked from the stopper thread too, which is definitely not idle. Rename it to flush_smp_call_function_queue() and fixup the callers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20220413133024.305001096@linutronix.de
Diffstat (limited to 'kernel/sched/smp.h')
-rw-r--r--kernel/sched/smp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/smp.h b/kernel/sched/smp.h
index 5719bf9280e9..2eb23dd0f285 100644
--- a/kernel/sched/smp.h
+++ b/kernel/sched/smp.h
@@ -9,7 +9,7 @@ extern void sched_ttwu_pending(void *arg);
extern void send_call_function_single_ipi(int cpu);
#ifdef CONFIG_SMP
-extern void flush_smp_call_function_from_idle(void);
+extern void flush_smp_call_function_queue(void);
#else
-static inline void flush_smp_call_function_from_idle(void) { }
+static inline void flush_smp_call_function_queue(void) { }
#endif