]> 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>
Mon, 24 Oct 2011 20:12:23 +0000 (07:12 +1100)
commitc672261418f71c3108ba7597c53c67339ef0fe6f
treee34ad5d2ce9fc398c03cfb4dbd2db7961fd4a0e3
parent63cf98fd5545a01f49fe9d73a9befbd4f0ee6c3c
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