Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286778
b: refs/heads/master
c: 15b63d3
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Dave Airlie committed Jan 24, 2012
1 parent 19369ee commit a065c1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 9aa59993e226af94088adaee993eb8cfd33ae295
refs/heads/master: 15b63d35261ba3351d07e7937252f18bb6cbf814
5 changes: 2 additions & 3 deletions trunk/drivers/gpu/drm/gma500/gtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*/

#include <drm/drmP.h>
#include <linux/shmem_fs.h>
#include "psb_drv.h"


Expand Down Expand Up @@ -203,9 +204,7 @@ static int psb_gtt_attach_pages(struct gtt_range *gt)
gt->npage = pages;

for (i = 0; i < pages; i++) {
/* FIXME: needs updating as per mail from Hugh Dickins */
p = read_cache_page_gfp(mapping, i,
__GFP_COLD | GFP_KERNEL);
p = shmem_read_mapping_page(mapping, i);
if (IS_ERR(p))
goto err;
gt->pages[i] = p;
Expand Down

0 comments on commit a065c1a

Please sign in to comment.