diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2022-04-13 16:31:02 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2022-05-01 11:03:43 +0300 |
commit | d664e399128bd78b905ff480917e2c2d4949e101 (patch) | |
tree | 24313ca59a70ebc095fa818e91f2180f012561b3 /kernel/sched/smp.h | |
parent | 97956dd278d3af1b5657026b992b54cf2e1b50b9 (diff) | |
download | linux-d664e399128bd78b905ff480917e2c2d4949e101.tar.xz |
sched: Fix missing prototype warnings
A W=1 build emits more than a dozen missing prototype warnings related to
scheduler and scheduler specific includes.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220413133024.249118058@linutronix.de
Diffstat (limited to 'kernel/sched/smp.h')
-rw-r--r-- | kernel/sched/smp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/sched/smp.h b/kernel/sched/smp.h index 9620e323162c..5719bf9280e9 100644 --- a/kernel/sched/smp.h +++ b/kernel/sched/smp.h @@ -7,3 +7,9 @@ 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); +#else +static inline void flush_smp_call_function_from_idle(void) { } +#endif |