patch-2.1.57 linux/drivers/macintosh/adb.c

Next file: linux/drivers/macintosh/macserial.c
Previous file: linux/drivers/isdn/isdn_tty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.56/linux/drivers/macintosh/adb.c linux/drivers/macintosh/adb.c
@@ -36,7 +36,7 @@
 			ret = -EAGAIN;
 			break;
 		}
-		if (current->signal & ~current->blocked) {
+		if (signal_pending(current)) {
 			ret = -ERESTARTSYS;
 			break;
 		}

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