]> 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 23:04:25 +0000 (10:04 +1100)
commitf50f0cd79ac4d274a56942145476b92895beba2c
tree51aa7cf4844b78b677bab3726633d1141d49efcf
parent772d90457e3f72d58c2bf4dcec5046ab9ed5a2e3
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