]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/gpu/drm/ttm/ttm_page_alloc.c
drm/ttm: non pooled page allocation should have GFP_USER set
[net-next-2.6.git] / drivers / gpu / drm / ttm / ttm_page_alloc.c
index ef910694bd634807631dd0958831bfa8c44421df..2f047577b1e391d1d09a9ba4407c0bc3c4b5b4fc 100644 (file)
@@ -667,7 +667,7 @@ int ttm_get_pages(struct list_head *pages, int flags,
 {
        struct ttm_page_pool *pool = ttm_get_pool(flags, cstate);
        struct page *p = NULL;
-       int gfp_flags = 0;
+       int gfp_flags = GFP_USER;
        int r;
 
        /* set zero flag for page allocation if required */