diff options
-rw-r--r-- | linux-core/drm_lock.c | 2 |
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); |