[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-39e24d8ffbb6aa90222527dbd5991ec49fbbf323@git.kernel.org>
Date: Wed, 27 Nov 2013 06:07:14 -0800
From: tip-bot for Shigeru Yoshida <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...nel.org,
trivial@...nel.org, peterz@...radead.org,
shigeru.yoshida@...il.com, tglx@...utronix.de
Subject: [tip:sched/core] sched: Fix a trivial syntax misuse
Commit-ID: 39e24d8ffbb6aa90222527dbd5991ec49fbbf323
Gitweb: http://git.kernel.org/tip/39e24d8ffbb6aa90222527dbd5991ec49fbbf323
Author: Shigeru Yoshida <shigeru.yoshida@...il.com>
AuthorDate: Sat, 23 Nov 2013 18:38:01 +0900
Committer: Ingo Molnar <mingo@...nel.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@...il.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Jiri Kosina <trivial@...nel.org>
Link: http://lkml.kernel.org/r/20131123.183801.769652906919404319.shigeru.yoshida@gmail.com
Signed-off-by: Ingo Molnar <mingo@...nel.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;
}
--
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