]> 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>
Wed, 5 Oct 2011 01:01:22 +0000 (12:01 +1100)
commit9a73228c56a11807b30ead34768043de2850a05a
treee734b9920d918b1464f4ffabdfdfe93ca5285226
parent2dc96793a836f1e30d5944124e1c2189b8247f7f
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