summaryrefslogtreecommitdiff
path: root/kernel/sched/build_policy.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2022-04-13 15:31:02 +0200
committerThomas Gleixner <tglx@linutronix.de>2022-05-01 10:03:43 +0200
commitd664e399128bd78b905ff480917e2c2d4949e101 (patch)
tree24313ca59a70ebc095fa818e91f2180f012561b3 /kernel/sched/build_policy.c
parent97956dd278d3af1b5657026b992b54cf2e1b50b9 (diff)
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_policy.c')
-rw-r--r--kernel/sched/build_policy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched/build_policy.c b/kernel/sched/build_policy.c
index e0104b45029a..d9dc9ab3773f 100644
--- a/kernel/sched/build_policy.c
+++ b/kernel/sched/build_policy.c
@@ -15,6 +15,7 @@
/* Headers: */
#include <linux/sched/clock.h>
#include <linux/sched/cputime.h>
+#include <linux/sched/hotplug.h>
#include <linux/sched/posix-timers.h>
#include <linux/sched/rt.h>
@@ -31,6 +32,7 @@
#include <uapi/linux/sched/types.h>
#include "sched.h"
+#include "smp.h"
#include "autogroup.h"
#include "stats.h"