aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 9d3d0f0b27d9..eb9934a82fc1 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1590,8 +1590,6 @@ repeat:
1590 goto repeat; 1590 goto repeat;
1591 if (retval != 0) /* He released the lock. */ 1591 if (retval != 0) /* He released the lock. */
1592 goto end; 1592 goto end;
1593 } else if (p->exit_state == EXIT_DEAD) {
1594 continue;
1595 } else if (p->exit_state == EXIT_ZOMBIE) { 1593 } else if (p->exit_state == EXIT_ZOMBIE) {
1596 /* 1594 /*
1597 * Eligible but we cannot release it yet: 1595 * Eligible but we cannot release it yet:
@@ -1606,7 +1604,7 @@ repeat:
1606 /* He released the lock. */ 1604 /* He released the lock. */
1607 if (retval != 0) 1605 if (retval != 0)
1608 goto end; 1606 goto end;
1609 } else { 1607 } else if (p->exit_state != EXIT_DEAD) {
1610check_continued: 1608check_continued:
1611 /* 1609 /*
1612 * It's running now, so it might later 1610 * It's running now, so it might later