summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom-at-vmware-dot-com>2009-02-04 15:53:07 +0100
committerThomas Hellstrom <thellstrom-at-vmware-dot-com>2009-02-04 15:53:07 +0100
commitddadcb67da045ba6bdefd0be59f7ecc4ca61f2a9 (patch)
treefa3ea896d809cc5e802969c5594fabb404c72e8d
parentdc150a1ef2027ea9cf09955e682bb0244ff9dc03 (diff)
Don't return -ERESTARTSYS to user-space.
-rw-r--r--linux-core/drm_lock.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}