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 /kernel/sched/build_utility.c | |
parent | sched/fair: Remove cfs_rq_tg_path() (diff) | |
download | linux-d664e399128bd78b905ff480917e2c2d4949e101.tar.xz linux-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 'kernel/sched/build_utility.c')
-rw-r--r-- | kernel/sched/build_utility.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/build_utility.c b/kernel/sched/build_utility.c index eec0849b2aae..99bdd96f454f 100644 --- a/kernel/sched/build_utility.c +++ b/kernel/sched/build_utility.c @@ -14,6 +14,7 @@ #include <linux/sched/debug.h> #include <linux/sched/isolation.h> #include <linux/sched/loadavg.h> +#include <linux/sched/nohz.h> #include <linux/sched/mm.h> #include <linux/sched/rseq_api.h> #include <linux/sched/task_stack.h> |