From: Ingo Molnar Date: Mon, 21 Jun 2021 08:33:56 +0000 (+0200) Subject: sched/headers: Reorganize, clean up and optimize kernel/sched/build_policy.c dependencies X-Git-Tag: v6.6.17~7964^2~5^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0dda4eeb484962ad574fcea77a78a4fbd7bc06ba;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Peter Zijlstra --- 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 +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef CONFIG_PARAVIRT +# include +#endif + +#include + #include "sched.h" #include "autogroup.h" #include "stats.h" #include "pelt.h" +/* Source code modules: */ + #include "idle.c" #include "rt.c"