lkml.org 
[lkml]   [2022]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip: sched/core] sched/headers: Make the <linux/sched/deadline.h> header build standalone
The following commit has been merged into the sched/core branch of tip:

Commit-ID: fbed5664b73830dcb1a19af4f7f1f1b424f54609
Gitweb: https://git.kernel.org/tip/fbed5664b73830dcb1a19af4f7f1f1b424f54609
Author: Ingo Molnar <mingo@kernel.org>
AuthorDate: Tue, 22 Feb 2022 13:28:20 +01:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Wed, 23 Feb 2022 10:58:33 +01:00

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>
---
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 1aff00b..7c83d4d 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)
\
 
 \ /
  Last update: 2022-03-15 09:33    [W:0.027 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site