]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
sched/headers: Make the <linux/sched/deadline.h> header build standalone
authorIngo Molnar <mingo@kernel.org>
Tue, 22 Feb 2022 12:28:20 +0000 (13:28 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 23 Feb 2022 09:58:33 +0000 (10:58 +0100)
This header depends on various scheduler definitions.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Peter Zijlstra <peterz@infradead.org>
include/linux/sched/deadline.h

index 1aff00b65f3cb92c145d764e27eb81329cddeb50..7c83d4d5a9719b1d7cf4da3f9e925362911ee639 100644 (file)
@@ -6,6 +6,8 @@
  * NORMAL/BATCH tasks.
  */
 
+#include <linux/sched.h>
+
 #define MAX_DL_PRIO            0
 
 static inline int dl_prio(int prio)