sched/cpuacct: Initialize root cpuacct earlier
authorLi Zefan <lizefan@huawei.com>
Fri, 29 Mar 2013 06:44:04 +0000 (14:44 +0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Apr 2013 11:54:20 +0000 (13:54 +0200)
commit14c6d3c8a47ced185b6375c4940b5b393f1a294e
tree1e7bb1aa142f89ed37988d432bffec7b8bf502f4
parent7943e15a3e91db78a7a3fbc84e45cf9d1c7c7d23
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>
kernel/sched/core.c
kernel/sched/cpuacct.c
kernel/sched/cpuacct.h