projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d31ca3
)
drm/ttm: use gfp_t instead of int for flags.
author
Dave Airlie
<airlied@redhat.com>
Tue, 22 Jul 2014 02:55:39 +0000
(12:55 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 22 Jul 2014 02:55:39 +0000
(12:55 +1000)
fixes sparse warning.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_page_alloc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ttm/ttm_page_alloc.c
b/drivers/gpu/drm/ttm/ttm_page_alloc.c
index 863bef9f923422e4670e3f11ff07384f568afc67..beb8e75a3f004e9be03f844e3400c40a9b1dc29a 100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_page_alloc.c
+++ b/
drivers/gpu/drm/ttm/ttm_page_alloc.c
@@
-790,7
+790,7
@@
static int ttm_get_pages(struct page **pages, unsigned npages, int flags,
return 0;
}
-static void ttm_page_pool_init_locked(struct ttm_page_pool *pool,
in
t flags,
+static void ttm_page_pool_init_locked(struct ttm_page_pool *pool,
gfp_
t flags,
char *name)
{
spin_lock_init(&pool->lock);