sched/cpuacct: Add cpuacct_acount_field()
authorLi Zefan <lizefan@huawei.com>
Fri, 29 Mar 2013 06:37:06 +0000 (14:37 +0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Apr 2013 11:54:17 +0000 (13:54 +0200)
commit1966aaf7d54608e8ddb7ac454b461840e763409a
tree01010d8ff23842f4200e69d2955fd805f50d6e28
parentdbe4b41f9800223949ce72e4289814697e0ea91a
sched/cpuacct: Add cpuacct_acount_field()

So we can remove open-coded cpuacct code in cputime.c.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/51553692.9060008@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/cpuacct.c
kernel/sched/cpuacct.h
kernel/sched/cputime.c