]> 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>
Thu, 15 Sep 2011 00:38:13 +0000 (10:38 +1000)
commit4d4ecdb9bfe6bc54fa2cdc3142f826a74b78494a
tree5bfe602d2d37b513f21d72d6ede43ad59e67a811
parentf239caf7eefc44cd8c625e2bc01b362bc242129d
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