diff options
Diffstat (limited to 'drivers/gpu/drm/drm_lock.c')
-rw-r--r-- | drivers/gpu/drm/drm_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_lock.c b/drivers/gpu/drm/drm_lock.c index 46e7b28f0707..b03586fdabbd 100644 --- a/drivers/gpu/drm/drm_lock.c +++ b/drivers/gpu/drm/drm_lock.c | |||
@@ -93,7 +93,7 @@ int drm_lock(struct drm_device *dev, void *data, struct drm_file *file_priv) | |||
93 | /* Contention */ | 93 | /* Contention */ |
94 | schedule(); | 94 | schedule(); |
95 | if (signal_pending(current)) { | 95 | if (signal_pending(current)) { |
96 | ret = -ERESTARTSYS; | 96 | ret = -EINTR; |
97 | break; | 97 | break; |
98 | } | 98 | } |
99 | } | 99 | } |