aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorGlauber Costa <glommer@parallels.com>2011-12-02 16:58:39 -0500
committerIngo Molnar <mingo@elte.hu>2011-12-06 14:51:24 -0500
commitbe726ffd1ef291c04c4d6632ac277afa1c281712 (patch)
tree3ec9830b12cd488019b12c77d35d5995e65c94cf /kernel/sched
parent1c77f38ad623d8c3bc062f0ff9b8c5a2dfb2f1a2 (diff)
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: Glauber Costa <glommer@parallels.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1322863119-14225-3-git-send-email-glommer@parallels.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 6e860100d11c..9ac22d2b0dd3 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -2561,8 +2561,8 @@ struct cgroup_subsys cpuacct_subsys;
2561struct cpuacct root_cpuacct; 2561struct cpuacct root_cpuacct;
2562#endif 2562#endif
2563 2563
2564static inline void task_group_account_field(struct task_struct *p, 2564static inline void task_group_account_field(struct task_struct *p, int index,
2565 u64 tmp, int index) 2565 u64 tmp)
2566{ 2566{
2567#ifdef CONFIG_CGROUP_CPUACCT 2567#ifdef CONFIG_CGROUP_CPUACCT
2568 struct kernel_cpustat *kcpustat; 2568 struct kernel_cpustat *kcpustat;