summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 17:00:14 +0200
committerIngo Molnar <mingo@elte.hu>2007-10-15 17:00:14 +0200
commit4cf86d77f5942336e7cd9de874b38b3c83b54d5e (patch)
treea62b0a1b5a71f715257b82c0f65f894153757c84 /include/linux/sched.h
parent06877c33fe9261ccdf143492c28de93c56493079 (diff)
downloadlwn-4cf86d77f5942336e7cd9de874b38b3c83b54d5e.tar.gz
lwn-4cf86d77f5942336e7cd9de874b38b3c83b54d5e.zip
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.h12
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);
struct seq_file;
struct cfs_rq;
-struct task_grp;
+struct task_group;
#ifdef CONFIG_SCHED_DEBUG
extern void proc_sched_show_task(struct task_struct *p, struct seq_file *m);
extern void proc_sched_set_task(struct task_struct *p);
@@ -598,7 +598,7 @@ struct user_struct {
uid_t uid;
#ifdef CONFIG_FAIR_USER_SCHED
- struct task_grp *tg;
+ struct task_group *tg;
#endif
};
@@ -1842,12 +1842,12 @@ extern void normalize_rt_tasks(void);
#ifdef CONFIG_FAIR_GROUP_SCHED
-extern struct task_grp init_task_grp;
+extern struct task_group init_task_group;
-extern struct task_grp *sched_create_group(void);
-extern void sched_destroy_group(struct task_grp *tg);
+extern struct task_group *sched_create_group(void);
+extern void sched_destroy_group(struct task_group *tg);
extern void sched_move_task(struct task_struct *tsk);
-extern int sched_group_set_shares(struct task_grp *tg, unsigned long shares);
+extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
#endif