aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 66169005f008..03c13b663e4b 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -136,6 +136,7 @@ extern unsigned long weighted_cpuload(const int cpu);
136 136
137struct seq_file; 137struct seq_file;
138struct cfs_rq; 138struct cfs_rq;
139struct task_grp;
139#ifdef CONFIG_SCHED_DEBUG 140#ifdef CONFIG_SCHED_DEBUG
140extern void proc_sched_show_task(struct task_struct *p, struct seq_file *m); 141extern void proc_sched_show_task(struct task_struct *p, struct seq_file *m);
141extern void proc_sched_set_task(struct task_struct *p); 142extern void proc_sched_set_task(struct task_struct *p);
@@ -1834,6 +1835,17 @@ extern int sched_mc_power_savings, sched_smt_power_savings;
1834 1835
1835extern void normalize_rt_tasks(void); 1836extern void normalize_rt_tasks(void);
1836 1837
1838#ifdef CONFIG_FAIR_GROUP_SCHED
1839
1840extern struct task_grp init_task_grp;
1841
1842extern struct task_grp *sched_create_group(void);
1843extern void sched_destroy_group(struct task_grp *tg);
1844extern void sched_move_task(struct task_struct *tsk);
1845extern int sched_group_set_shares(struct task_grp *tg, unsigned long shares);
1846
1847#endif
1848
1837#ifdef CONFIG_TASK_XACCT 1849#ifdef CONFIG_TASK_XACCT
1838static inline void add_rchar(struct task_struct *tsk, ssize_t amt) 1850static inline void add_rchar(struct task_struct *tsk, ssize_t amt)
1839{ 1851{