aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched/core.c
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-03-29 14:44:04 +0800
committerIngo Molnar <mingo@kernel.org>2013-04-10 13:54:20 +0200
commit14c6d3c8a47ced185b6375c4940b5b393f1a294e (patch)
tree1e7bb1aa142f89ed37988d432bffec7b8bf502f4 /kernel/sched/core.c
parent7943e15a3e91db78a7a3fbc84e45cf9d1c7c7d23 (diff)
downloadlinaro-lsk-14c6d3c8a47ced185b6375c4940b5b393f1a294e.tar.gz
sched/cpuacct: Initialize root cpuacct earlier
Now we don't need cpuacct_init(), and instead we just initialize root_cpuacct when it's defined. Signed-off-by: Li Zefan <lizefan@huawei.com> Cc: Tejun Heo <tj@kernel.org> Acked-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/51553834.9090701@huawei.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r--kernel/sched/core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 92930a89529..ee8c1bd703f 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6936,8 +6936,6 @@ void __init sched_init(void)
#endif /* CONFIG_CGROUP_SCHED */
- cpuacct_init();
-
for_each_possible_cpu(i) {
struct rq *rq;