aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 9ac99896db8f..48fc74b6df55 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1133,7 +1133,7 @@ repeat:
1133 * yield - it could be a while. 1133 * yield - it could be a while.
1134 */ 1134 */
1135 if (unlikely(on_rq)) { 1135 if (unlikely(on_rq)) {
1136 yield(); 1136 schedule_timeout_uninterruptible(1);
1137 goto repeat; 1137 goto repeat;
1138 } 1138 }
1139 1139