Merge commit 'origin/queue' into for-queue
[profile/ivi/kernel-x86-ivi.git] / arch / powerpc / kvm / book3s_hv.c
index 812764c..843eb75 100644 (file)
@@ -1459,7 +1459,7 @@ static const struct vm_operations_struct kvm_rma_vm_ops = {
 
 static int kvm_rma_mmap(struct file *file, struct vm_area_struct *vma)
 {
-       vma->vm_flags |= VM_RESERVED;
+       vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
        vma->vm_ops = &kvm_rma_vm_ops;
        return 0;
 }