Merge branch 'PAGE_CACHE_SIZE-removal'
[linux-2.6-block.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_ttm.c
index f1a55d1888cbbd343db0a69f02ad9ce52aa67084..6f3369de232fe5f545382a6cc2ca528bdf8c1026 100644 (file)
@@ -622,7 +622,7 @@ static void amdgpu_ttm_tt_unpin_userptr(struct ttm_tt *ttm)
                        set_page_dirty(page);
 
                mark_page_accessed(page);
-               page_cache_release(page);
+               put_page(page);
        }
 
        sg_free_table(ttm->sg);