drm: export drm_global_mutex for drivers to use
authorBen Skeggs <bskeggs@redhat.com>
Thu, 26 Aug 2010 04:58:57 +0000 (14:58 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 26 Aug 2010 22:39:22 +0000 (08:39 +1000)
commite3461a2bc0d67ce60a915e0f26e2a6eb4a4d4b99
treecb36e6f2c1ff86dca9b2c84b992a85d6f22b3b79
parentee508b821c2042fb852a078e594bd36606973780
drm: export drm_global_mutex for drivers to use

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