summaryrefslogtreecommitdiff
path: root/mali_kbase/mali_kbase_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'mali_kbase/mali_kbase_device.c')
-rw-r--r--mali_kbase/mali_kbase_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mali_kbase/mali_kbase_device.c b/mali_kbase/mali_kbase_device.c
index 62ab0ca..7484eec 100644
--- a/mali_kbase/mali_kbase_device.c
+++ b/mali_kbase/mali_kbase_device.c
@@ -82,7 +82,6 @@ static int kbase_device_as_init(struct kbase_device *kbdev, int i)
if (!kbdev->as[i].pf_wq)
return -EINVAL;
- mutex_init(&kbdev->as[i].transaction_mutex);
INIT_WORK(&kbdev->as[i].work_pagefault, page_fault_worker);
INIT_WORK(&kbdev->as[i].work_busfault, bus_fault_worker);
@@ -151,6 +150,7 @@ int kbase_device_init(struct kbase_device * const kbdev)
#endif /* CONFIG_ARM64 */
spin_lock_init(&kbdev->mmu_mask_change);
+ mutex_init(&kbdev->mmu_hw_mutex);
#ifdef CONFIG_ARM64
kbdev->cci_snoop_enabled = false;
np = kbdev->dev->of_node;