diff options
Diffstat (limited to 'kernel/sched/sched.h')
| -rw-r--r-- | kernel/sched/sched.h | 81 |
1 files changed, 53 insertions, 28 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index bd1461ae06e4..23ba4dd76ac4 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
| @@ -3,39 +3,71 @@ | |||
| 3 | * Scheduler internal types and methods: | 3 | * Scheduler internal types and methods: |
| 4 | */ | 4 | */ |
| 5 | #include <linux/sched.h> | 5 | #include <linux/sched.h> |
| 6 | |||
| 6 | #include <linux/sched/autogroup.h> | 7 | #include <linux/sched/autogroup.h> |
| 7 | #include <linux/sched/sysctl.h> | ||
| 8 | #include <linux/sched/topology.h> | ||
| 9 | #include <linux/sched/rt.h> | ||
| 10 | #include <linux/sched/deadline.h> | ||
| 11 | #include <linux/sched/clock.h> | 8 | #include <linux/sched/clock.h> |
| 12 | #include <linux/sched/wake_q.h> | 9 | #include <linux/sched/coredump.h> |
| 13 | #include <linux/sched/signal.h> | ||
| 14 | #include <linux/sched/numa_balancing.h> | ||
| 15 | #include <linux/sched/mm.h> | ||
| 16 | #include <linux/sched/cpufreq.h> | 10 | #include <linux/sched/cpufreq.h> |
| 17 | #include <linux/sched/stat.h> | 11 | #include <linux/sched/cputime.h> |
| 18 | #include <linux/sched/nohz.h> | 12 | #include <linux/sched/deadline.h> |
| 19 | #include <linux/sched/debug.h> | 13 | #include <linux/sched/debug.h> |
| 20 | #include <linux/sched/hotplug.h> | 14 | #include <linux/sched/hotplug.h> |
| 15 | #include <linux/sched/idle.h> | ||
| 16 | #include <linux/sched/init.h> | ||
| 17 | #include <linux/sched/isolation.h> | ||
| 18 | #include <linux/sched/jobctl.h> | ||
| 19 | #include <linux/sched/loadavg.h> | ||
| 20 | #include <linux/sched/mm.h> | ||
| 21 | #include <linux/sched/nohz.h> | ||
| 22 | #include <linux/sched/numa_balancing.h> | ||
| 23 | #include <linux/sched/prio.h> | ||
| 24 | #include <linux/sched/rt.h> | ||
| 25 | #include <linux/sched/signal.h> | ||
| 26 | #include <linux/sched/stat.h> | ||
| 27 | #include <linux/sched/sysctl.h> | ||
| 21 | #include <linux/sched/task.h> | 28 | #include <linux/sched/task.h> |
| 22 | #include <linux/sched/task_stack.h> | 29 | #include <linux/sched/task_stack.h> |
| 23 | #include <linux/sched/cputime.h> | 30 | #include <linux/sched/topology.h> |
| 24 | #include <linux/sched/init.h> | 31 | #include <linux/sched/user.h> |
| 32 | #include <linux/sched/wake_q.h> | ||
| 33 | #include <linux/sched/xacct.h> | ||
| 34 | |||
| 35 | #include <uapi/linux/sched/types.h> | ||
| 25 | 36 | ||
| 26 | #include <linux/u64_stats_sync.h> | ||
| 27 | #include <linux/kernel_stat.h> | ||
| 28 | #include <linux/binfmts.h> | 37 | #include <linux/binfmts.h> |
| 29 | #include <linux/mutex.h> | 38 | #include <linux/blkdev.h> |
| 30 | #include <linux/spinlock.h> | 39 | #include <linux/compat.h> |
| 40 | #include <linux/context_tracking.h> | ||
| 41 | #include <linux/cpufreq.h> | ||
| 42 | #include <linux/cpuidle.h> | ||
| 43 | #include <linux/cpuset.h> | ||
| 44 | #include <linux/ctype.h> | ||
| 45 | #include <linux/debugfs.h> | ||
| 46 | #include <linux/delayacct.h> | ||
| 47 | #include <linux/init_task.h> | ||
| 48 | #include <linux/kprobes.h> | ||
| 49 | #include <linux/kthread.h> | ||
| 50 | #include <linux/membarrier.h> | ||
| 51 | #include <linux/migrate.h> | ||
| 52 | #include <linux/mmu_context.h> | ||
| 53 | #include <linux/nmi.h> | ||
| 54 | #include <linux/proc_fs.h> | ||
| 55 | #include <linux/prefetch.h> | ||
| 56 | #include <linux/profile.h> | ||
| 57 | #include <linux/rcupdate_wait.h> | ||
| 58 | #include <linux/security.h> | ||
| 59 | #include <linux/stackprotector.h> | ||
| 31 | #include <linux/stop_machine.h> | 60 | #include <linux/stop_machine.h> |
| 32 | #include <linux/irq_work.h> | 61 | #include <linux/suspend.h> |
| 33 | #include <linux/tick.h> | 62 | #include <linux/swait.h> |
| 34 | #include <linux/slab.h> | 63 | #include <linux/syscalls.h> |
| 35 | #include <linux/cgroup.h> | 64 | #include <linux/task_work.h> |
| 65 | #include <linux/tsacct_kern.h> | ||
| 66 | |||
| 67 | #include <asm/tlb.h> | ||
| 36 | 68 | ||
| 37 | #ifdef CONFIG_PARAVIRT | 69 | #ifdef CONFIG_PARAVIRT |
| 38 | #include <asm/paravirt.h> | 70 | # include <asm/paravirt.h> |
| 39 | #endif | 71 | #endif |
| 40 | 72 | ||
| 41 | #include "cpupri.h" | 73 | #include "cpupri.h" |
| @@ -1357,13 +1389,6 @@ static inline int task_on_rq_migrating(struct task_struct *p) | |||
| 1357 | return p->on_rq == TASK_ON_RQ_MIGRATING; | 1389 | return p->on_rq == TASK_ON_RQ_MIGRATING; |
| 1358 | } | 1390 | } |
| 1359 | 1391 | ||
| 1360 | #ifndef prepare_arch_switch | ||
| 1361 | # define prepare_arch_switch(next) do { } while (0) | ||
| 1362 | #endif | ||
| 1363 | #ifndef finish_arch_post_lock_switch | ||
| 1364 | # define finish_arch_post_lock_switch() do { } while (0) | ||
| 1365 | #endif | ||
| 1366 | |||
| 1367 | /* | 1392 | /* |
| 1368 | * wake flags | 1393 | * wake flags |
| 1369 | */ | 1394 | */ |
