aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2022-02-22 13:28:20 +0100
committerIngo Molnar <mingo@kernel.org>2022-02-23 10:58:33 +0100
commitfbed5664b73830dcb1a19af4f7f1f1b424f54609 (patch)
tree261c5cfccba82178b557f8435ea4f29d7c463f7e
parentsched/headers: Fix comment typo in kernel/sched/cpudeadline.c (diff)
downloadlinux-dev-fbed5664b73830dcb1a19af4f7f1f1b424f54609.tar.xz
linux-dev-fbed5664b73830dcb1a19af4f7f1f1b424f54609.zip
sched/headers: Make the <linux/sched/deadline.h> header build standalone
This header depends on various scheduler definitions. Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Peter Zijlstra <peterz@infradead.org>
Diffstat (limited to '')
-rw-r--r--include/linux/sched/deadline.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched/deadline.h b/include/linux/sched/deadline.h
index 1aff00b65f3c..7c83d4d5a971 100644
--- a/include/linux/sched/deadline.h
+++ b/include/linux/sched/deadline.h
@@ -6,6 +6,8 @@
* NORMAL/BATCH tasks.
*/
+#include <linux/sched.h>
+
#define MAX_DL_PRIO 0
static inline int dl_prio(int prio)