Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123429
b: refs/heads/master
c: ae14dc0
h: refs/heads/master
i:
  123427: a694e09
v: v3
  • Loading branch information
Dave Airlie committed Dec 29, 2008
1 parent 5da762a commit 6990f82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa91c6665a5e387e488c4a0b5da2536cc9c9f16e
refs/heads/master: ae14dc0505261978ca06075ac39cc5422c6c6b57
2 changes: 2 additions & 0 deletions trunk/drivers/gpu/drm/drm_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,9 @@ int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
vma->vm_private_data = map->handle;
/* FIXME: use pgprot_writecombine when available */
prot = pgprot_val(vma->vm_page_prot);
#ifdef CONFIG_X86
prot |= _PAGE_CACHE_WC;
#endif
vma->vm_page_prot = __pgprot(prot);

vma->vm_file = filp; /* Needed for drm_vm_open() */
Expand Down

0 comments on commit 6990f82

Please sign in to comment.