mm: replace vma->vm_flags direct modifications with modifier calls
[linux-block.git] / sound / soc / pxa / mmp-sspa.c
index fb5a4390443fe10509f2915c3151be3ba9163f36..b3c1744eff91aec505f34333dfa31b10a755eefb 100644 (file)
@@ -404,7 +404,7 @@ static int mmp_pcm_mmap(struct snd_soc_component *component,
                        struct snd_pcm_substream *substream,
                        struct vm_area_struct *vma)
 {
-       vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
+       vm_flags_set(vma, VM_DONTEXPAND | VM_DONTDUMP);
        vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
        return remap_pfn_range(vma, vma->vm_start,
                substream->dma_buffer.addr >> PAGE_SHIFT,