Don't return -ERESTARTSYS to user-space.

This commit is contained in:
Thomas Hellstrom 2009-02-04 15:53:07 +01:00
parent dc150a1ef2
commit ddadcb67da

View file

@ -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;
}
}