diff --git a/linux-core/drm_lock.c b/linux-core/drm_lock.c index 8dd2e5ee..df0a8d3b 100644 --- a/linux-core/drm_lock.c +++ b/linux-core/drm_lock.c @@ -93,7 +93,7 @@ int drm_lock(struct drm_device *dev, void *data, struct drm_file *file_priv) /* Contention */ schedule(); if (signal_pending(current)) { - ret = -ERESTARTSYS; + ret = -EINTR; break; } }