diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-01-09 15:45:41 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-01-09 12:49:48 +0000 |
commit | a7eef882a8d37be46459faa5020648af7ccf6ad2 (patch) | |
tree | 572a177cb3000fd09335c5accb48970496f51bbc | |
parent | 55ba70c40661b61f98c4188c428f265009af1aa5 (diff) |
drm/radeon: double lock typo in radeon_vm_bo_rmv()
The second lock should be an unlock or it causes a deadlock.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_gart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c index a97baf5c114..010dad8b66a 100644 --- a/drivers/gpu/drm/radeon/radeon_gart.c +++ b/drivers/gpu/drm/radeon/radeon_gart.c @@ -603,7 +603,7 @@ int radeon_vm_bo_rmv(struct radeon_device *rdev, radeon_vm_bo_update_pte(rdev, vm, bo, NULL); radeon_mutex_unlock(&rdev->cs_mutex); list_del(&bo_va->vm_list); - mutex_lock(&vm->mutex); + mutex_unlock(&vm->mutex); kfree(bo_va); return 0; |