diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-10-15 11:00:14 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 11:00:14 -0400 |
commit | 4cf86d77f5942336e7cd9de874b38b3c83b54d5e (patch) | |
tree | a62b0a1b5a71f715257b82c0f65f894153757c84 /include/linux/sched.h | |
parent | 06877c33fe9261ccdf143492c28de93c56493079 (diff) |
sched: cleanup: rename task_grp to task_group
cleanup: rename task_grp to task_group. No need to save two characters
and 'grp' is annoying to read.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 49c7b374eac8..3cddbfc0c91d 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -136,7 +136,7 @@ extern unsigned long weighted_cpuload(const int cpu); | |||
136 | 136 | ||
137 | struct seq_file; | 137 | struct seq_file; |
138 | struct cfs_rq; | 138 | struct cfs_rq; |
139 | struct task_grp; | 139 | struct task_group; |
140 | #ifdef CONFIG_SCHED_DEBUG | 140 | #ifdef CONFIG_SCHED_DEBUG |
141 | extern void proc_sched_show_task(struct task_struct *p, struct seq_file *m); | 141 | extern void proc_sched_show_task(struct task_struct *p, struct seq_file *m); |
142 | extern void proc_sched_set_task(struct task_struct *p); | 142 | extern void proc_sched_set_task(struct task_struct *p); |
@@ -598,7 +598,7 @@ struct user_struct { | |||
598 | uid_t uid; | 598 | uid_t uid; |
599 | 599 | ||
600 | #ifdef CONFIG_FAIR_USER_SCHED | 600 | #ifdef CONFIG_FAIR_USER_SCHED |
601 | struct task_grp *tg; | 601 | struct task_group *tg; |
602 | #endif | 602 | #endif |
603 | }; | 603 | }; |
604 | 604 | ||
@@ -1842,12 +1842,12 @@ extern void normalize_rt_tasks(void); | |||
1842 | 1842 | ||
1843 | #ifdef CONFIG_FAIR_GROUP_SCHED | 1843 | #ifdef CONFIG_FAIR_GROUP_SCHED |
1844 | 1844 | ||
1845 | extern struct task_grp init_task_grp; | 1845 | extern struct task_group init_task_group; |
1846 | 1846 | ||
1847 | extern struct task_grp *sched_create_group(void); | 1847 | extern struct task_group *sched_create_group(void); |
1848 | extern void sched_destroy_group(struct task_grp *tg); | 1848 | extern void sched_destroy_group(struct task_group *tg); |
1849 | extern void sched_move_task(struct task_struct *tsk); | 1849 | extern void sched_move_task(struct task_struct *tsk); |
1850 | extern int sched_group_set_shares(struct task_grp *tg, unsigned long shares); | 1850 | extern int sched_group_set_shares(struct task_group *tg, unsigned long shares); |
1851 | 1851 | ||
1852 | #endif | 1852 | #endif |
1853 | 1853 | ||