patch-2.1.57 linux/drivers/char/cyclades.c
Next file: linux/drivers/char/epca.c
Previous file: linux/drivers/char/apm_bios.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Sep 20 14:51:54 1997
- Orig file:
v2.1.56/linux/drivers/char/cyclades.c
- Orig date:
Thu Jul 17 10:06:04 1997
diff -u --recursive --new-file v2.1.56/linux/drivers/char/cyclades.c linux/drivers/char/cyclades.c
@@ -2217,7 +2217,7 @@
break;
}
restore_flags(flags);
- if (current->signal & ~current->blocked) {
+ if (signal_pending(current)) {
retval = -ERESTARTSYS;
break;
}
@@ -2275,7 +2275,7 @@
|| (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