aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index bfc7c332c5d7..675d010995a2 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -4296,7 +4296,7 @@ int kvm_arch_set_memory_region(struct kvm *kvm,
4296 userspace_addr = do_mmap(NULL, 0, 4296 userspace_addr = do_mmap(NULL, 0,
4297 npages * PAGE_SIZE, 4297 npages * PAGE_SIZE,
4298 PROT_READ | PROT_WRITE, 4298 PROT_READ | PROT_WRITE,
4299 MAP_SHARED | MAP_ANONYMOUS, 4299 MAP_PRIVATE | MAP_ANONYMOUS,
4300 0); 4300 0);
4301 up_write(&current->mm->mmap_sem); 4301 up_write(&current->mm->mmap_sem);
4302 4302