diff options
| author | Kirill A. Shutemov <[email protected]> | 2015-11-30 02:17:31 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2015-12-11 04:04:44 +0000 |
| commit | 9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e (patch) | |
| tree | 99f265dbc7b9ee58dfa5c0a9e2161e2d787a794d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Merge branch 'drm-fixes-4.4' of git://people.freedesktop.org/~agd5f/linux int... (diff) | |
| download | kernel-9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e.tar.gz kernel-9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e.zip | |
vgaarb: fix signal handling in vga_get()
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 <[email protected]>
Cc: [email protected]
Reviewed-by: David Herrmann <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
