]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: console: Use wait_event_freezable instead of _interruptible
authorAmit Shah <amit.shah@redhat.com>
Wed, 14 Sep 2011 07:36:41 +0000 (13:06 +0530)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Nov 2011 00:15:24 +0000 (11:15 +1100)
commit5cfe4f21b515df2c2cb91783116d7e9aa7cccce3
tree2ab97d956831440abae8e08aace6fbde79e35d48
parent622f65e5610c51d7d442ed88fe9fa5b4c0dcde41
virtio: console: Use wait_event_freezable instead of _interruptible

Get ready to support suspend/resume by using the freezable calls so that
blocking read/write syscalls are handled properly across suspend/resume.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c