mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-28 13:20:13 +01:00
Don't return -ERESTARTSYS to user-space.
This commit is contained in:
parent
dc150a1ef2
commit
ddadcb67da
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue