linux-imx/drivers/gpu/vga
Kirill A. Shutemov 2b7dac5f1c vgaarb: fix signal handling in vga_get()
commit 9f5bd30818 upstream.

There are few defects in vga_get() related to signal hadning:

  - we shouldn't check for pending signals for TASK_UNINTERRUPTIBLE
    case;

  - if we found pending signal we must remove ourself from wait queue
    and change task state back to running;

  - -ERESTARTSYS is more appropriate, I guess.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
2016-03-03 12:45:59 +01:00
..
Kconfig vga: compile fix, disable vga for s390 2012-11-30 17:47:28 +01:00
Makefile vga_switcheroo: initial implementation (v15) 2010-03-01 16:20:37 +10:00
vga_switcheroo.c vgaswitcheroo: add vga_switcheroo_fini_domain_pm_ops 2014-10-13 15:41:35 +02:00
vgaarb.c vgaarb: fix signal handling in vga_get() 2016-03-03 12:45:59 +01:00