diff options
author | Li Zefan <lizefan@huawei.com> | 2013-03-05 16:07:52 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-03-06 11:24:35 +0100 |
commit | 27b4b9319a3c2e8654d45df99ce584c7c2cfe100 (patch) | |
tree | ab88adf43a0208398592119eef149c800097c2c5 | |
parent | 25cc7da7e6336d3bb6a5bad3d3fa96fce9a81d5b (diff) |
sched: Remove double declaration of root_task_group
It's already declared in include/linux/sched.h
Signed-off-by: Li Zefan <lizefan@huawei.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/5135A7D8.7000107@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | kernel/sched/core.c | 4 | ||||
-rw-r--r-- | kernel/sched/sched.h | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 9ad26c986441..42ecbcb73516 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -6861,6 +6861,10 @@ int in_sched_functions(unsigned long addr) } #ifdef CONFIG_CGROUP_SCHED +/* + * Default task group. + * Every task in system belongs to this group at bootup. + */ struct task_group root_task_group; LIST_HEAD(task_groups); #endif diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 304fc1c77143..30bebb955023 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -179,11 +179,6 @@ struct task_group { #define MAX_SHARES (1UL << 18) #endif -/* Default task group. - * Every task in system belong to this group at bootup. - */ -extern struct task_group root_task_group; - typedef int (*tg_visitor)(struct task_group *, void *); extern int walk_tg_tree_from(struct task_group *from, |