mm: replace vma->vm_flags direct modifications with modifier calls
[linux-block.git] / drivers / hwtracing / intel_th / msu.c
index 6c8215a47a601109da29f66269a96f3c2ed3a436..9621efe0e95c4df84afa68d56c3c2c6490614294 100644 (file)
@@ -1659,7 +1659,7 @@ out:
                atomic_dec(&msc->user_count);
 
        vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
-       vma->vm_flags |= VM_DONTEXPAND | VM_DONTCOPY;
+       vm_flags_set(vma, VM_DONTEXPAND | VM_DONTCOPY);
        vma->vm_ops = &msc_mmap_ops;
        return ret;
 }