fix build wrong function call

This commit is contained in:
Dave Airlie 2006-02-18 03:01:38 +00:00
parent 4791dc8856
commit 08fafc424a

View file

@ -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);