summaryrefslogtreecommitdiff
path: root/linux-core/drm_lock.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-02-18 03:01:38 +0000
committerDave Airlie <airlied@linux.ie>2006-02-18 03:01:38 +0000
commit08fafc424a6266fa5e3d6ba755dea22e384e9683 (patch)
tree24d770e71c1e8bd96c422d1592ba212b91f6d140 /linux-core/drm_lock.c
parent4791dc885619b1a6460c1fcf48f648945feea4d3 (diff)
fix build wrong function call
Diffstat (limited to 'linux-core/drm_lock.c')
-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 b909a6fb..a268d8ee 100644
--- a/linux-core/drm_lock.c
+++ b/linux-core/drm_lock.c
@@ -168,7 +168,7 @@ int drm_unlock(struct inode *inode, struct file *filp,
* modules but is required by the Sparc driver.
*/
if (dev->driver->kernel_context_switch_unlock)
- dev->driver->kernel_context_switch_unlock(dev, &lock);
+ dev->driver->kernel_context_switch_unlock(dev);
else {
drm_lock_transfer(dev, &dev->lock.hw_lock->lock,
DRM_KERNEL_CONTEXT);