patch-1.3.65 linux/drivers/char/scc.c
Next file: linux/drivers/char/tpqic02.c
Previous file: linux/drivers/char/keyboard.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Feb 16 08:17:29 1996
- Orig file:
v1.3.64/linux/drivers/char/scc.c
- Orig date:
Thu Dec 21 08:53:31 1995
diff -u --recursive --new-file v1.3.64/linux/drivers/char/scc.c linux/drivers/char/scc.c
@@ -2286,7 +2286,7 @@
restore_flags(flags);
- put_user_long(result,(unsigned int *) arg);
+ put_user(result,(unsigned int *) arg);
return 0;
case TIOCMBIS:
case TIOCMBIC:
@@ -2301,7 +2301,7 @@
scc->wreg[R5] &= ~RTS;
break;
case TIOCMSET:
- value = get_user_long((unsigned int *) arg);
+ value = get_user((unsigned int *) arg);
if(value & TIOCM_DTR)
scc->wreg[R5] |= DTR;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this