[PATCH 07/15] sched/headers: Make the header build standalone

Ingo Molnar
2022-03-15T08:44:32Z

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 | 2 ++
1 file changed, 2 insertions(+)

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)
--
2.32.0