diff options
| author | James Simmons <jsimmons@maxwell.earthlink.net> | 2002-09-16 21:07:57 -0700 |
|---|---|---|
| committer | James Simmons <jsimmons@maxwell.earthlink.net> | 2002-09-16 21:07:57 -0700 |
| commit | b569f2bcbb0ab7475f28580b48e0b9fbcc2770e4 (patch) | |
| tree | 570b978c3e026e2592c761b6729484bbb839a7ce | |
| parent | 4c796c8cb7d95d482909a29bf6db4d9aff343e96 (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.
| -rw-r--r-- | drivers/char/misc.c | 1 | ||||
| -rw-r--r-- | drivers/char/tty_ioctl.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/misc.c b/drivers/char/misc.c index 2149e30bbca2..27bed88f2652 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c @@ -48,7 +48,6 @@ #include <linux/init.h> #include <linux/tty.h> -#include <linux/selection.h> #include <linux/kmod.h> #include "busmouse.h" 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); } |
