projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: replace vma->vm_flags direct modifications with modifier calls
[linux-2.6-block.git]
/
drivers
/
gpu
/
drm
/
etnaviv
/
etnaviv_gem.c
diff --git
a/drivers/gpu/drm/etnaviv/etnaviv_gem.c
b/drivers/gpu/drm/etnaviv/etnaviv_gem.c
index c5ae5492e1af066e5ddcdc760fc8b13647c0efa7..b5f73502e3dd4240df3faebebed9e33562a680e3 100644
(file)
--- a/
drivers/gpu/drm/etnaviv/etnaviv_gem.c
+++ b/
drivers/gpu/drm/etnaviv/etnaviv_gem.c
@@
-130,7
+130,7
@@
static int etnaviv_gem_mmap_obj(struct etnaviv_gem_object *etnaviv_obj,
{
pgprot_t vm_page_prot;
- vm
a->vm_flags |= VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP
;
+ vm
_flags_set(vma, VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP)
;
vm_page_prot = vm_get_page_prot(vma->vm_flags);