patch-2.3.16 linux/drivers/char/specialix.c
Next file: linux/drivers/char/synclink.c
Previous file: linux/drivers/char/serial167.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Aug 31 11:30:48 1999
- Orig file:
v2.3.15/linux/drivers/char/specialix.c
- Orig date:
Wed May 12 13:27:37 1999
diff -u --recursive --new-file v2.3.15/linux/drivers/char/specialix.c linux/drivers/char/specialix.c
@@ -1398,7 +1398,7 @@
}
}
sti();
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
if (tty_hung_up_p(filp) ||
!(port->flags & ASYNC_INITIALIZED)) {
if (port->flags & ASYNC_HUP_NOTIFY)
@@ -1755,7 +1755,7 @@
|/* ((status & MSVR_DSR) ? */ TIOCM_DSR /* : 0) */
| ((status & MSVR_CTS) ? TIOCM_CTS : 0);
}
- put_user(result,(unsigned long *) value);
+ put_user(result,(unsigned int *) value);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)