Commit be726ffd authored by Glauber Costa's avatar Glauber Costa Committed by Ingo Molnar

sched/accounting: Fix parameter passing in task_group_account_field

The order of parameters is inverted. The index parameter
should come first.
Signed-off-by: default avatarGlauber Costa <glommer@parallels.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1322863119-14225-3-git-send-email-glommer@parallels.comSigned-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 1c77f38a
...@@ -2561,8 +2561,8 @@ struct cgroup_subsys cpuacct_subsys; ...@@ -2561,8 +2561,8 @@ struct cgroup_subsys cpuacct_subsys;
struct cpuacct root_cpuacct; struct cpuacct root_cpuacct;
#endif #endif
static inline void task_group_account_field(struct task_struct *p, static inline void task_group_account_field(struct task_struct *p, int index,
u64 tmp, int index) u64 tmp)
{ {
#ifdef CONFIG_CGROUP_CPUACCT #ifdef CONFIG_CGROUP_CPUACCT
struct kernel_cpustat *kcpustat; struct kernel_cpustat *kcpustat;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment