mm: replace vma->vm_flags direct modifications with modifier calls
[linux-block.git] / drivers / media / v4l2-core / videobuf-dma-contig.c
index f2c4393595574e27ac96f6370ee40bc51f0a3607..4c2ec7a0d804a2520edd955d075d53bd46c21dce 100644 (file)
@@ -314,7 +314,7 @@ static int __videobuf_mmap_mapper(struct videobuf_queue *q,
        }
 
        vma->vm_ops = &videobuf_vm_ops;
-       vma->vm_flags |= VM_DONTEXPAND;
+       vm_flags_set(vma, VM_DONTEXPAND);
        vma->vm_private_data = map;
 
        dev_dbg(q->dev, "mmap %p: q=%p %08lx-%08lx (%lx) pgoff %08lx buf %d\n",