diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-04-19 13:45:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 13:45:00 -0400 |
commit | eff766a65c60237bfa865160c3129de31fab591b (patch) | |
tree | c003be272be4bd614485606c77893295f3b175a2 /include/linux/sched.h | |
parent | ec7dc8ac73e4a56ed03b673f026f08c0d547f597 (diff) |
sched: fix the task_group hierarchy for UID grouping
UID grouping doesn't actually have a task_group representing the root of
the task_group tree. Add one.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index fa14781747cb..ada24022d230 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2051,6 +2051,9 @@ extern void normalize_rt_tasks(void); | |||
2051 | #ifdef CONFIG_GROUP_SCHED | 2051 | #ifdef CONFIG_GROUP_SCHED |
2052 | 2052 | ||
2053 | extern struct task_group init_task_group; | 2053 | extern struct task_group init_task_group; |
2054 | #ifdef CONFIG_USER_SCHED | ||
2055 | extern struct task_group root_task_group; | ||
2056 | #endif | ||
2054 | 2057 | ||
2055 | extern struct task_group *sched_create_group(struct task_group *parent); | 2058 | extern struct task_group *sched_create_group(struct task_group *parent); |
2056 | extern void sched_destroy_group(struct task_group *tg); | 2059 | extern void sched_destroy_group(struct task_group *tg); |