aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/exit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 167e1e3ad7c6..d2e8239ea187 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1582,6 +1582,7 @@ static int wait_consider_task(struct task_struct *parent, int ptrace,
1582 */ 1582 */
1583 if (*notask_error) 1583 if (*notask_error)
1584 *notask_error = ret; 1584 *notask_error = ret;
1585 return 0;
1585 } 1586 }
1586 1587
1587 if (likely(!ptrace) && unlikely(p->ptrace)) { 1588 if (likely(!ptrace) && unlikely(p->ptrace)) {