]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tty: use prepare/finish_wait
authorJiri Slaby <jirislaby@gmail.com>
Thu, 11 Jun 2009 13:33:37 +0000 (14:33 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:07 +0000 (08:51 -0700)
commit3e3b5c087799e536871c8261b05bc28e4783c8da
treefc8841b45f3326c79eda03c0d98e8a11c5125938
parent5fc5b42a3bb564f0b6e03f0f1b522ed9100250ad
tty: use prepare/finish_wait

Use prepare_to_wait and finish_wait instead of add_wait_queue and
remove_wait_queue.

This avoids us setting a task state.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_port.c