forked from Minki/linux
d664e39912
A W=1 build emits more than a dozen missing prototype warnings related to scheduler and scheduler specific includes. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20220413133024.249118058@linutronix.de
55 lines
1.2 KiB
C
55 lines
1.2 KiB
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* These are the scheduling policy related scheduler files, built
|
|
* in a single compilation unit for build efficiency reasons.
|
|
*
|
|
* ( Incidentally, the size of the compilation unit is roughly
|
|
* comparable to core.c and fair.c, the other two big
|
|
* compilation units. This helps balance build time, while
|
|
* coalescing source files to amortize header inclusion
|
|
* cost. )
|
|
*
|
|
* core.c and fair.c are built separately.
|
|
*/
|
|
|
|
/* Headers: */
|
|
#include <linux/sched/clock.h>
|
|
#include <linux/sched/cputime.h>
|
|
#include <linux/sched/hotplug.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>
|
|
|
|
#include <uapi/linux/sched/types.h>
|
|
|
|
#include "sched.h"
|
|
#include "smp.h"
|
|
|
|
#include "autogroup.h"
|
|
#include "stats.h"
|
|
#include "pelt.h"
|
|
|
|
/* Source code modules: */
|
|
|
|
#include "idle.c"
|
|
|
|
#include "rt.c"
|
|
|
|
#ifdef CONFIG_SMP
|
|
# include "cpudeadline.c"
|
|
# include "pelt.c"
|
|
#endif
|
|
|
|
#include "cputime.c"
|
|
#include "deadline.c"
|
|
|