From: Pavel Machek <pavel@ucw.cz>

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/kernel/signal.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -puN kernel/signal.c~signalc-convert-assertion-to-bug_on kernel/signal.c
--- 25/kernel/signal.c~signalc-convert-assertion-to-bug_on	2004-12-27 00:56:39.993494576 -0800
+++ 25-akpm/kernel/signal.c	2004-12-27 00:56:39.998493816 -0800
@@ -1456,8 +1456,7 @@ void do_notify_parent(struct task_struct
 	unsigned long flags;
 	struct sighand_struct *psig;
 
-	if (sig == -1)
-		BUG();
+	BUG_ON(sig == -1);
 
  	/* do_notify_parent_cldstop should have been called instead.  */
  	BUG_ON(tsk->state & (TASK_STOPPED|TASK_TRACED));
_