patch-2.1.70 linux/drivers/char/cyclades.c

Next file: linux/drivers/char/ftape/Config.in
Previous file: linux/drivers/char/cd1865.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.69/linux/drivers/char/cyclades.c linux/drivers/char/cyclades.c
@@ -2339,7 +2339,7 @@
 			break;
 		}
 	    restore_flags(flags);
-	    if (current->signal & ~current->blocked) {
+	    if (signal_pending(current))  {
 		retval = -ERESTARTSYS;
 		break;
 	    }
@@ -2397,7 +2397,7 @@
 	      || (cy_readl(&ch_ctrl[channel].rs_status) & C_RS_DCD))) {
 		break;
 	    }
-	    if (current->signal & ~current->blocked) {
+	    if (signal_pending(current)) {
 		retval = -ERESTARTSYS;
 		break;
 	    }

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