patch-2.3.16 linux/drivers/char/serial167.c
Next file: linux/drivers/char/specialix.c
Previous file: linux/drivers/char/serial.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/serial167.c
- Orig date:
Sat May 15 15:05:36 1999
diff -u --recursive --new-file v2.3.15/linux/drivers/char/serial167.c linux/drivers/char/serial167.c
@@ -1500,7 +1500,7 @@
| ((status & CyDCD) ? TIOCM_CAR : 0)
| ((status & CyDSR) ? TIOCM_DSR : 0)
| ((status & CyCTS) ? TIOCM_CTS : 0);
- cy_put_user(result,(unsigned long *) value);
+ cy_put_user(result,(unsigned int *) value);
return 0;
} /* get_modem_info */
@@ -2094,7 +2094,7 @@
#endif
}
restore_flags(flags);
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
if (tty_hung_up_p(filp)
|| !(info->flags & ASYNC_INITIALIZED) ){
if (info->flags & ASYNC_HUP_NOTIFY) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)