diff options
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r-- | kernel/sched/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index c1808606ee5f..687985b0284e 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
@@ -3654,7 +3654,7 @@ again: | |||
3654 | } | 3654 | } |
3655 | 3655 | ||
3656 | double_rq_lock(rq, p_rq); | 3656 | double_rq_lock(rq, p_rq); |
3657 | while (task_rq(p) != p_rq) { | 3657 | if (task_rq(p) != p_rq) { |
3658 | double_rq_unlock(rq, p_rq); | 3658 | double_rq_unlock(rq, p_rq); |
3659 | goto again; | 3659 | goto again; |
3660 | } | 3660 | } |