From: tip-bot for Glauber Costa <glommer@parallels.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
a.p.zijlstra@chello.nl, glommer@parallels.com,
tglx@linutronix.de, mingo@elte.hu
Subject: [tip:sched/core] sched/accounting: Fix parameter passing in task_group_account_field
Date: Tue, 6 Dec 2011 12:22:36 -0800 [thread overview]
Message-ID: <tip-be726ffd1ef291c04c4d6632ac277afa1c281712@git.kernel.org> (raw)
In-Reply-To: <1322863119-14225-3-git-send-email-glommer@parallels.com>
Commit-ID: be726ffd1ef291c04c4d6632ac277afa1c281712
Gitweb: http://git.kernel.org/tip/be726ffd1ef291c04c4d6632ac277afa1c281712
Author: Glauber Costa <glommer@parallels.com>
AuthorDate: Fri, 2 Dec 2011 19:58:39 -0200
Committer: Ingo Molnar <mingo@elte.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@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>
---
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;
prev parent reply other threads:[~2011-12-06 20:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 21:58 [PATCH 0/2] Fix brown paper bag bugs on previous submission Glauber Costa
2011-12-02 21:58 ` [PATCH 1/2] Fix user/system tick double accounting Glauber Costa
2011-12-06 20:21 ` [tip:sched/core] sched/accounting: " tip-bot for Glauber Costa
2011-12-02 21:58 ` [PATCH 2/2] fix parameter passing in task_group_account_field Glauber Costa
2011-12-06 20:22 ` tip-bot for Glauber Costa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-be726ffd1ef291c04c4d6632ac277afa1c281712@git.kernel.org \
--to=glommer@parallels.com \
--cc=a.p.zijlstra@chello.nl \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome