diff options
-rw-r--r-- | kernel/exit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 9c6881a0a8b4..dd83c8419101 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -1595,9 +1595,7 @@ repeat: | |||
1595 | 1595 | ||
1596 | if (wo->wo_flags & __WNOTHREAD) | 1596 | if (wo->wo_flags & __WNOTHREAD) |
1597 | break; | 1597 | break; |
1598 | tsk = next_thread(tsk); | 1598 | } while_each_thread(current, tsk); |
1599 | BUG_ON(tsk->signal != current->signal); | ||
1600 | } while (tsk != current); | ||
1601 | read_unlock(&tasklist_lock); | 1599 | read_unlock(&tasklist_lock); |
1602 | 1600 | ||
1603 | notask: | 1601 | notask: |