projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b975dc3
)
sched: Fix a trivial syntax misuse
author
Shigeru Yoshida
<shigeru.yoshida@gmail.com>
Sat, 23 Nov 2013 09:38:01 +0000
(18:38 +0900)
committer
Ingo Molnar
<mingo@kernel.org>
Tue, 26 Nov 2013 17:37:55 +0000
(18:37 +0100)
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
patch
|
blob
|
history
diff --git
a/kernel/sched/core.c
b/kernel/sched/core.c
index
c180860
..
687985b
100644
(file)
--- 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;
}