projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee508b8
)
drm: export drm_global_mutex for drivers to use
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 26 Aug 2010 04:58:57 +0000
(14:58 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 26 Aug 2010 22:39:22 +0000
(08:39 +1000)
Nouveau needs to be able to drop the mutex before sleeping to prevent a
deadlock from occuring.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/drm_fops.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_fops.c
b/drivers/gpu/drm/drm_fops.c
index 2ca8df8b6102a0002cda630460333e94bc3c47c0..41dfaae411590567e84970e165946067f498fcb0 100644
(file)
--- a/
drivers/gpu/drm/drm_fops.c
+++ b/
drivers/gpu/drm/drm_fops.c
@@
-41,6
+41,7
@@
/* from BKL pushdown: note that nothing else serializes idr_find() */
DEFINE_MUTEX(drm_global_mutex);
+EXPORT_SYMBOL(drm_global_mutex);
static int drm_open_helper(struct inode *inode, struct file *filp,
struct drm_device * dev);