mm: kill vma flag VM_RESERVED and mm->reserved_vm counter
[platform/adaptation/renesas_rcar/renesas_kernel.git] / sound / usb / usx2y / us122l.c
index c4fd3b1..d0323a6 100644 (file)
@@ -262,7 +262,7 @@ static int usb_stream_hwdep_mmap(struct snd_hwdep *hw,
        }
 
        area->vm_ops = &usb_stream_hwdep_vm_ops;
-       area->vm_flags |= VM_RESERVED;
+       area->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
        area->vm_private_data = us122l;
        atomic_inc(&us122l->mmap_count);
 out: