/* To exclude mutual BO access we rely on bo_reserve exclusion, as all function are calling it.  */
static void radeon_ttm_bo_destroy(struct ttm_buffer_object *tbo)
/* To exclude mutual BO access we rely on bo_reserve exclusion, as all function are calling it.  */
static void radeon_ttm_bo_destroy(struct ttm_buffer_object *tbo)
{
	struct radeon_bo *bo;
	bo = container_of(tbo, struct radeon_bo, tbo);
	mutex_lock(&bo->rdev->gem.mutex);
	list_del_init(&bo->list);
	mutex_unlock(&bo->rdev->gem.mutex);
	radeon_bo_clear_surface_reg(bo);
	kfree(bo);
}