aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 1921ffdc5e77..5630255d2e2a 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1705,7 +1705,9 @@ finish_stop(int stop_count)
1705 read_unlock(&tasklist_lock); 1705 read_unlock(&tasklist_lock);
1706 } 1706 }
1707 1707
1708 schedule(); 1708 do {
1709 schedule();
1710 } while (try_to_freeze());
1709 /* 1711 /*
1710 * Now we don't run again until continued. 1712 * Now we don't run again until continued.
1711 */ 1713 */