patch-2.4.0-test6 linux/drivers/char/n_tty.c
Next file: linux/drivers/char/pcmcia/Makefile
Previous file: linux/drivers/char/msp3400.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Jul 31 10:14:07 2000
- Orig file:
v2.4.0-test5/linux/drivers/char/n_tty.c
- Orig date:
Mon Jul 10 16:47:22 2000
diff -u --recursive --new-file v2.4.0-test5/linux/drivers/char/n_tty.c linux/drivers/char/n_tty.c
@@ -1154,9 +1154,7 @@
nr -= num;
if (nr == 0)
break;
- current->state = TASK_RUNNING;
get_user(c, b);
- current->state = TASK_INTERRUPTIBLE;
if (opost(c, tty) < 0)
break;
b++; nr--;
@@ -1164,9 +1162,7 @@
if (tty->driver.flush_chars)
tty->driver.flush_chars(tty);
} else {
- current->state = TASK_RUNNING;
c = tty->driver.write(tty, 1, b, nr);
- current->state = TASK_INTERRUPTIBLE;
if (c < 0) {
retval = c;
goto break_out;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)