diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2022-04-13 15:31:02 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2022-05-01 10:03:43 +0200 |
commit | d664e399128bd78b905ff480917e2c2d4949e101 (patch) | |
tree | 24313ca59a70ebc095fa818e91f2180f012561b3 /include/linux/sched.h | |
parent | 97956dd278d3af1b5657026b992b54cf2e1b50b9 (diff) | |
download | lwn-d664e399128bd78b905ff480917e2c2d4949e101.tar.gz lwn-d664e399128bd78b905ff480917e2c2d4949e101.zip |
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 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index fc74ea2578b7..a27316f5f737 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2388,4 +2388,6 @@ static inline void sched_core_free(struct task_struct *tsk) { } static inline void sched_core_fork(struct task_struct *p) { } #endif +extern void sched_set_stop_task(int cpu, struct task_struct *stop); + #endif |