[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-be726ffd1ef291c04c4d6632ac277afa1c281712@git.kernel.org>
Date: Tue, 6 Dec 2011 12:22:36 -0800
From: tip-bot for Glauber Costa <glommer@...allels.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
a.p.zijlstra@...llo.nl, glommer@...allels.com, tglx@...utronix.de,
mingo@...e.hu
Subject: [tip:sched/core] sched/accounting: Fix parameter passing in task_group_account_field
Commit-ID: be726ffd1ef291c04c4d6632ac277afa1c281712
Gitweb: http://git.kernel.org/tip/be726ffd1ef291c04c4d6632ac277afa1c281712
Author: Glauber Costa <glommer@...allels.com>
AuthorDate: Fri, 2 Dec 2011 19:58:39 -0200
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Tue, 6 Dec 2011 20:51:24 +0100
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@...allels.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Link: http://lkml.kernel.org/r/1322863119-14225-3-git-send-email-glommer@parallels.com
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/sched/core.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 6e86010..9ac22d2 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -2561,8 +2561,8 @@ struct cgroup_subsys cpuacct_subsys;
struct cpuacct root_cpuacct;
#endif
-static inline void task_group_account_field(struct task_struct *p,
- u64 tmp, int index)
+static inline void task_group_account_field(struct task_struct *p, int index,
+ u64 tmp)
{
#ifdef CONFIG_CGROUP_CPUACCT
struct kernel_cpustat *kcpustat;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists