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

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

diff -u --recursive --new-file v2.1.56/linux/drivers/char/ftape/fdc-io.c linux/drivers/char/ftape/fdc-io.c
@@ -335,12 +335,12 @@
 /*** remove me when sure this doesn't happen ***/
 			if (current->timeout > 0) {
 				TRACE(-1, "*** BUG: unexpected schedule exit ***");
-				if (current->signal & ~current->blocked) {
+				if (signal_pending(current)) {
 					TRACE(4, "caused by signal ?");
 				}
 			}
 #endif
-			if (current->signal & ~current->blocked) {
+			if (signal_pending(current)) {
 				result = -EINTR;
 			} else {
 				result = -ETIME;

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