summaryrefslogtreecommitdiff
path: root/drivers/char/tty_ioctl.c
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@maxwell.earthlink.net>2002-09-16 21:07:57 -0700
committerJames Simmons <jsimmons@maxwell.earthlink.net>2002-09-16 21:07:57 -0700
commitb569f2bcbb0ab7475f28580b48e0b9fbcc2770e4 (patch)
tree570b978c3e026e2592c761b6729484bbb839a7ce /drivers/char/tty_ioctl.c
parent4c796c8cb7d95d482909a29bf6db4d9aff343e96 (diff)
Removed selection.h header. It is not needed and in the future selections will be a pure userland solution. Use set_current_state instead in tty_ioctl.c.
Diffstat (limited to 'drivers/char/tty_ioctl.c')
-rw-r--r--drivers/char/tty_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_ioctl.c b/drivers/char/tty_ioctl.c
index 00aa3598c951..e89b692a2ded 100644
--- a/drivers/char/tty_ioctl.c
+++ b/drivers/char/tty_ioctl.c
@@ -65,7 +65,7 @@ void tty_wait_until_sent(struct tty_struct * tty, long timeout)
if (tty->driver.wait_until_sent)
tty->driver.wait_until_sent(tty, timeout);
stop_waiting:
- current->state = TASK_RUNNING;
+ set_current_state(TASK_RUNNING);
remove_wait_queue(&tty->write_wait, &wait);
}