mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-07 15:49:02 +02:00
fix build wrong function call
This commit is contained in:
parent
4791dc8856
commit
08fafc424a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue