patch-2.3.16 linux/drivers/char/joystick/joystick.c
Next file: linux/drivers/char/keyboard.c
Previous file: linux/drivers/char/isicom.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Aug 31 11:30:48 1999
- Orig file:
v2.3.15/linux/drivers/char/joystick/joystick.c
- Orig date:
Wed May 12 13:27:37 1999
diff -u --recursive --new-file v2.3.15/linux/drivers/char/joystick/joystick.c linux/drivers/char/joystick/joystick.c
@@ -525,8 +525,8 @@
if (GOF(curl->tail) == jd->bhead && curl->startup == jd->num_axes + jd->num_buttons) {
+ __set_current_state(TASK_INTERRUPTIBLE);
add_wait_queue(&jd->wait, &wait);
- current->state = TASK_INTERRUPTIBLE;
while (GOF(curl->tail) == jd->bhead) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)