patch-2.4.5 linux/drivers/char/epca.c
Next file: linux/drivers/char/i810-tco.c
Previous file: linux/drivers/char/drm/fops.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Tue May 22 10:23:16 2001
- Orig file:
v2.4.4/linux/drivers/char/epca.c
- Orig date:
Fri Apr 13 20:26:07 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/char/epca.c linux/drivers/char/epca.c
@@ -876,6 +876,9 @@
/* First we read the data in from the file system into a temp buffer */
+ memoff(ch);
+ restore_flags(flags);
+
if (bytesAvailable)
{ /* Begin bytesAvailable */
@@ -916,8 +919,6 @@
post_fep_init.
--------------------------------------------------------------------- */
buf = ch->tmp_buf;
- memoff(ch);
- restore_flags(flags);
} /* End from_user */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)