mm: replace vma->vm_flags direct modifications with modifier calls
[linux-2.6-block.git] / drivers / gpu / drm / etnaviv / etnaviv_gem.c
index c5ae5492e1af066e5ddcdc760fc8b13647c0efa7..b5f73502e3dd4240df3faebebed9e33562a680e3 100644 (file)
@@ -130,7 +130,7 @@ static int etnaviv_gem_mmap_obj(struct etnaviv_gem_object *etnaviv_obj,
 {
        pgprot_t vm_page_prot;
 
-       vma->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);