patch-2.1.57 linux/drivers/char/ftape/ftape-io.c

Next file: linux/drivers/char/istallion.c
Previous file: linux/drivers/char/ftape/fdc-io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.56/linux/drivers/char/ftape/ftape-io.c linux/drivers/char/ftape/ftape-io.c
@@ -138,7 +138,7 @@
 			while (current->state != TASK_RUNNING) {
 				schedule();
 			}
-			if (current->signal & ~current->blocked) {
+			if (signal_pending(current)) {
 				TRACE(1, "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