]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/signal.c
ptrace: __ptrace_detach: do __wake_up_parent() if we reap the tracee
[net-next-2.6.git] / kernel / signal.c
index 64c5deeaca5d9a70f64f391bc73fde46e300bff1..534ea81cde4759811a107855d0f73fd221489d15 100644 (file)
@@ -1382,15 +1382,6 @@ ret:
        return ret;
 }
 
-/*
- * Wake up any threads in the parent blocked in wait* syscalls.
- */
-static inline void __wake_up_parent(struct task_struct *p,
-                                   struct task_struct *parent)
-{
-       wake_up_interruptible_sync(&parent->signal->wait_chldexit);
-}
-
 /*
  * Let a parent know about the death of a child.
  * For a stopped/continued status change, use do_notify_parent_cldstop instead.