Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286635
b: refs/heads/master
c: e912b6d
h: refs/heads/master
i:
  286633: 6f6503c
  286631: b37c2fe
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Jan 24, 2012
1 parent 4e419c4 commit 50869ae
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: c1aab02dac690af7ff634d8e1cb3be6a04387eef
refs/heads/master: e912b6d27cea198980132f012d14f22247e19ad6
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 50869ae

Please sign in to comment.