projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778ef1e
)
drm: Don't return ERESTARTSYS to user-space.
author
Thomas Hellstrom
<thellstrom@vmware.com>
Mon, 2 Mar 2009 10:10:54 +0000
(11:10 +0100)
committer
Dave Airlie
<airlied@linux.ie>
Mon, 2 Mar 2009 23:49:46 +0000
(09:49 +1000)
That return code is for in-kernel use only.
Use EINTR instead.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_lock.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_lock.c
b/drivers/gpu/drm/drm_lock.c
index 46e7b28f0707397d545948dc21bbcc272f16eb6f..b03586fdabbd8eb8d709c8b0be2a8f30ae4fa297 100644
(file)
--- 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)
/* Contention */
schedule();
if (signal_pending(current)) {
- ret = -E
RESTARTSYS
;
+ ret = -E
INTR
;
break;
}
}