Resent-Date: Mon, 14 Jun 1999 11:22:59 +0200 (MET DST)
To: linux-m68k@lists.linux-m68k.org
Subject: Missing recalc_sigpending
X-Yow: Wait..  is this a FUN THING or the END of LIFE in Petticoat Junction??
From: Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
Date: 14 Jun 1999 11:22:08 +0200
Resent-From: linux-m68k@phil.uni-sb.de

Hi!

This came up in linux-kernel, the same problem also exists in the m68k
specific part: there is a recalc_sigpending missing in do_signal.

--- linux/arch/m68k/kernel/signal.c.~1~	Mon Jan 18 10:11:18 1999
+++ linux/arch/m68k/kernel/signal.c	Mon Jun 14 11:17:52 1999
@@ -1092,6 +1092,7 @@
 
 			default:
 				sigaddset(&current->signal, signr);
+				recalc_sigpending(current);
 				current->flags |= PF_SIGNALED;
 				do_exit(exit_code);
 				/* NOTREACHED */

Andreas.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

