[<prev] [next>] [day] [month] [year] [list]
Message-ID: <164733305467.16921.16597177726639531734.tip-bot2@tip-bot2>
Date: Tue, 15 Mar 2022 08:30:54 -0000
From: "tip-bot2 for Ingo Molnar" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: sched/core] sched/headers: Reorganize, clean up and optimize
kernel/sched/build_policy.c dependencies
The following commit has been merged into the sched/core branch of tip:
Commit-ID: 0dda4eeb484962ad574fcea77a78a4fbd7bc06ba
Gitweb: https://git.kernel.org/tip/0dda4eeb484962ad574fcea77a78a4fbd7bc06ba
Author: Ingo Molnar <mingo@...nel.org>
AuthorDate: Mon, 21 Jun 2021 10:33:56 +02:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Wed, 23 Feb 2022 10:58:33 +01:00
sched/headers: Reorganize, clean up and optimize kernel/sched/build_policy.c dependencies
Use all generic headers from kernel/sched/sched.h that are required
for it to build.
Sort the sections alphabetically.
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Reviewed-by: Peter Zijlstra <peterz@...radead.org>
---
kernel/sched/build_policy.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/kernel/sched/build_policy.c b/kernel/sched/build_policy.c
index 9a169b2..a2e4023 100644
--- a/kernel/sched/build_policy.c
+++ b/kernel/sched/build_policy.c
@@ -12,12 +12,36 @@
* core.c and fair.c are built separately.
*/
+/* Headers: */
+#include <linux/sched/clock.h>
+#include <linux/sched/cputime.h>
+#include <linux/sched/posix-timers.h>
+#include <linux/sched/rt.h>
+
+#include <linux/cpuidle.h>
+#include <linux/jiffies.h>
+#include <linux/livepatch.h>
+#include <linux/psi.h>
+#include <linux/seqlock_api.h>
+#include <linux/slab.h>
+#include <linux/suspend.h>
+#include <linux/tsacct_kern.h>
+#include <linux/vtime.h>
+
+#ifdef CONFIG_PARAVIRT
+# include <asm/paravirt.h>
+#endif
+
+#include <uapi/linux/sched/types.h>
+
#include "sched.h"
#include "autogroup.h"
#include "stats.h"
#include "pelt.h"
+/* Source code modules: */
+
#include "idle.c"
#include "rt.c"
Powered by blists - more mailing lists