patch-2.1.69 linux/drivers/char/joystick.c

Next file: linux/drivers/char/rocket.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.68/linux/drivers/char/joystick.c linux/drivers/char/joystick.c
@@ -470,7 +470,7 @@
 					retval = -EAGAIN;
 					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