]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/usb/usx2y/usx2yhwdeppcm.c
vm audit: add VM_DONTEXPAND to mmap for drivers that need it
[linux-2.6-omap-h63xx.git] / sound / usb / usx2y / usx2yhwdeppcm.c
index 800b5cecfc8054ce38026e954a17f67b481ebfc8..117946f2debb3a04891d87de9327c16d8f27f7fe 100644 (file)
@@ -722,7 +722,7 @@ static int snd_usX2Y_hwdep_pcm_mmap(struct snd_hwdep * hw, struct file *filp, st
                return -ENODEV;
        }
        area->vm_ops = &snd_usX2Y_hwdep_pcm_vm_ops;
-       area->vm_flags |= VM_RESERVED;
+       area->vm_flags |= VM_RESERVED | VM_DONTEXPAND;
        area->vm_private_data = hw->private_data;
        return 0;
 }