diff options
author | Dave Airlie <airlied@redhat.com> | 2014-07-22 12:55:39 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-07-22 12:55:39 +1000 |
commit | 3b9c214a28e3c611a5322257574dc7b725558e04 (patch) | |
tree | c9c879151e539cc68216e00fc7511e17c3190870 /drivers/gpu/drm/ttm | |
parent | 2d31ca3ad7d5d44c8adc7f253c96ce33f3a2e931 (diff) |
drm/ttm: use gfp_t instead of int for flags.
fixes sparse warning.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ttm')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index 863bef9f9234..beb8e75a3f00 100644 --- 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, int flags, +static void ttm_page_pool_init_locked(struct ttm_page_pool *pool, gfp_t flags, char *name) { spin_lock_init(&pool->lock); |