diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 60d6fdcc9265..782b2e1f7ca2 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -1575,6 +1575,11 @@ static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk) | |||
1575 | return 0; | 1575 | return 0; |
1576 | } | 1576 | } |
1577 | 1577 | ||
1578 | void __wake_up_parent(struct task_struct *p, struct task_struct *parent) | ||
1579 | { | ||
1580 | wake_up_interruptible_sync(&parent->signal->wait_chldexit); | ||
1581 | } | ||
1582 | |||
1578 | static long do_wait(struct wait_opts *wo) | 1583 | static long do_wait(struct wait_opts *wo) |
1579 | { | 1584 | { |
1580 | DECLARE_WAITQUEUE(wait, current); | 1585 | DECLARE_WAITQUEUE(wait, current); |