Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210949
b: refs/heads/master
c: 0e57a3c
h: refs/heads/master
i:
  210947: 2f4c7a6
v: v3
  • Loading branch information
Daniel J Blueman authored and Dave Airlie committed Sep 24, 2010
1 parent a937457 commit 509a3ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5d60827a6bf9e7345f9e50423c1673ec4e14568
refs/heads/master: 0e57a3cc71884ef38e0568b63e004e2c782ea6d2
8 changes: 4 additions & 4 deletions trunk/drivers/gpu/drm/ttm/ttm_page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ struct ttm_page_pool {
spinlock_t lock;
bool fill_lock;
struct list_head list;
int gfp_flags;
gfp_t gfp_flags;
unsigned npages;
char *name;
unsigned long nfrees;
Expand Down Expand Up @@ -475,7 +475,7 @@ static void ttm_handle_caching_state_failure(struct list_head *pages,
* This function is reentrant if caller updates count depending on number of
* pages returned in pages array.
*/
static int ttm_alloc_new_pages(struct list_head *pages, int gfp_flags,
static int ttm_alloc_new_pages(struct list_head *pages, gfp_t gfp_flags,
int ttm_flags, enum ttm_caching_state cstate, unsigned count)
{
struct page **caching_array;
Expand Down Expand Up @@ -666,7 +666,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 = GFP_USER;
gfp_t gfp_flags = GFP_USER;
int r;

/* set zero flag for page allocation if required */
Expand Down Expand Up @@ -818,7 +818,7 @@ int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages)
return 0;
}

void ttm_page_alloc_fini()
void ttm_page_alloc_fini(void)
{
int i;

Expand Down

0 comments on commit 509a3ab

Please sign in to comment.