Commit b569f2bc authored by James Simmons's avatar James Simmons

Removed selection.h header. It is not needed and in the future selections will...

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.
parent 4c796c8c
......@@ -48,7 +48,6 @@
#include <linux/init.h>
#include <linux/tty.h>
#include <linux/selection.h>
#include <linux/kmod.h>
#include "busmouse.h"
......
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment