diff options
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv.c')
-rw-r--r-- | arch/powerpc/kvm/book3s_hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index 812764c96229..843eb754a1d5 100644 --- a/arch/powerpc/kvm/book3s_hv.c +++ b/arch/powerpc/kvm/book3s_hv.c | |||
@@ -1459,7 +1459,7 @@ static const struct vm_operations_struct kvm_rma_vm_ops = { | |||
1459 | 1459 | ||
1460 | static int kvm_rma_mmap(struct file *file, struct vm_area_struct *vma) | 1460 | static int kvm_rma_mmap(struct file *file, struct vm_area_struct *vma) |
1461 | { | 1461 | { |
1462 | vma->vm_flags |= VM_RESERVED; | 1462 | vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; |
1463 | vma->vm_ops = &kvm_rma_vm_ops; | 1463 | vma->vm_ops = &kvm_rma_vm_ops; |
1464 | return 0; | 1464 | return 0; |
1465 | } | 1465 | } |