From: tip-bot for Shigeru Yoshida <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org,
trivial@kernel.org, peterz@infradead.org,
shigeru.yoshida@gmail.com, tglx@linutronix.de
Subject: [tip:sched/core] sched: Fix a trivial syntax misuse
Date: Wed, 27 Nov 2013 06:07:14 -0800 [thread overview]
Message-ID: <tip-39e24d8ffbb6aa90222527dbd5991ec49fbbf323@git.kernel.org> (raw)
In-Reply-To: <20131123.183801.769652906919404319.shigeru.yoshida@gmail.com>
Commit-ID: 39e24d8ffbb6aa90222527dbd5991ec49fbbf323
Gitweb: http://git.kernel.org/tip/39e24d8ffbb6aa90222527dbd5991ec49fbbf323
Author: Shigeru Yoshida <shigeru.yoshida@gmail.com>
AuthorDate: Sat, 23 Nov 2013 18:38:01 +0900
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 26 Nov 2013 18:37:55 +0100
sched: Fix a trivial syntax misuse
Use if statement instead of while loop.
Signed-off-by: Shigeru Yoshida <shigeru.yoshida@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Jiri Kosina <trivial@kernel.org>
Link: http://lkml.kernel.org/r/20131123.183801.769652906919404319.shigeru.yoshida@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
kernel/sched/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index c180860..687985b 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -3654,7 +3654,7 @@ again:
}
double_rq_lock(rq, p_rq);
- while (task_rq(p) != p_rq) {
+ if (task_rq(p) != p_rq) {
double_rq_unlock(rq, p_rq);
goto again;
}
prev parent reply other threads:[~2013-11-27 14:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-23 9:38 [PATCH] sched: fix " Shigeru Yoshida
2013-11-27 14:07 ` tip-bot for Shigeru Yoshida [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-39e24d8ffbb6aa90222527dbd5991ec49fbbf323@git.kernel.org \
--to=tipbot@zytor.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=shigeru.yoshida@gmail.com \
--cc=tglx@linutronix.de \
--cc=trivial@kernel.org \
/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