diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-01-07 15:17:36 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-01-07 15:54:34 +0100 |
commit | 07e06b011db2b3300f6c975ebf293fc4c8c59942 (patch) | |
tree | f6f0fdd7c1707aa9badf16d1ceb4de1e16adb9e9 /include/linux/sched.h | |
parent | cb600d2f83c854ec3d6660063e4466431999489b (diff) | |
download | lwn-07e06b011db2b3300f6c975ebf293fc4c8c59942.tar.gz lwn-07e06b011db2b3300f6c975ebf293fc4c8c59942.zip |
sched: Consolidate the name of root_task_group and init_task_group
root_task_group is the leftover of USER_SCHED, now it's always
same to init_task_group.
But as Mike suggested, root_task_group is maybe the suitable name
to keep for a tree.
So in this patch:
init_task_group --> root_task_group
init_task_group_load --> root_task_group_load
INIT_TASK_GROUP_LOAD --> ROOT_TASK_GROUP_LOAD
Suggested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20110107071736.GA32635@windriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 777cd01e240e..341acbbc434a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2511,7 +2511,7 @@ extern void normalize_rt_tasks(void); #ifdef CONFIG_CGROUP_SCHED -extern struct task_group init_task_group; +extern struct task_group root_task_group; extern struct task_group *sched_create_group(struct task_group *parent); extern void sched_destroy_group(struct task_group *tg); |