diff -Naru a/kernel/signal.c b/kernel/signal.c
--- a/kernel/signal.c	2006-06-26 10:41:56 -07:00
+++ b/kernel/signal.c	2006-06-26 10:41:56 -07:00
@@ -868,7 +868,6 @@
 		if (t == NULL)
 			/* restart balancing at this thread */
 			t = p->signal->curr_target = p;
-		BUG_ON(t->tgid != p->tgid);
 
 		while (!wants_signal(sig, t)) {
 			t = next_thread(t);
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2006/04/11 07:34:01-07:00 oleg@tv-sign.ru 
#   [PATCH] __group_complete_signal: remove bogus BUG_ON
#   
#   Commit e56d090310d7625ecb43a1eeebd479f04affb48b
#   
#      [PATCH] RCU signal handling
#   
#   made this BUG_ON() unsafe. This code runs under ->siglock,
#   while switch_exec_pids() takes tasklist_lock.
#   
#   Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
#   Signed-off-by: Linus Torvalds <torvalds@osdl.org>
#   
#   GIT: a145410dccdb44f81d3b56763ef9b6f721f4e47c
# 
# kernel/signal.c
#   2006/04/11 07:34:01-07:00 oleg@tv-sign.ru +0 -1
# 
