diff options
author | Ingo Molnar <mingo@kernel.org> | 2021-06-21 10:33:56 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-02-23 10:58:33 +0100 |
commit | 0dda4eeb484962ad574fcea77a78a4fbd7bc06ba (patch) | |
tree | 75b2a0c3b04491917628e5c0af486978d427d83c | |
parent | sched/headers: Reorganize, clean up and optimize kernel/sched/fair.c dependen... (diff) | |
download | linux-0dda4eeb484962ad574fcea77a78a4fbd7bc06ba.tar.xz linux-0dda4eeb484962ad574fcea77a78a4fbd7bc06ba.zip |
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@kernel.org>
Reviewed-by: Peter Zijlstra <peterz@infradead.org>
-rw-r--r-- | kernel/sched/build_policy.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel/sched/build_policy.c b/kernel/sched/build_policy.c index 9a169b2f97e6..a2e4023771a0 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" |