patch-2.1.70 linux/drivers/char/ftape/lowlevel/ftape-io.c

Next file: linux/drivers/char/specialix.c
Previous file: linux/drivers/char/ftape/lowlevel/ftape-init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.69/linux/drivers/char/ftape/lowlevel/ftape-io.c linux/drivers/char/ftape/lowlevel/ftape-io.c
@@ -103,7 +103,7 @@
 			}
 			/*  Mmm. Isn't current->blocked == 0xffffffff ?
 			 */
-			if (current->signal & ~current->blocked) {
+			if (signal_pending(current)) {
 				TRACE(ft_t_err,
 				      "awoken by non-blocked signal :-(");
 				break;	/* exit on signal */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov