diff options
Diffstat (limited to 'virt/kvm')
-rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 0309571fcb20..de3b029f6adf 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -734,7 +734,7 @@ pfn_t gfn_to_pfn(struct kvm *kvm, gfn_t gfn) | |||
734 | return page_to_pfn(bad_page); | 734 | return page_to_pfn(bad_page); |
735 | } | 735 | } |
736 | 736 | ||
737 | npages = get_user_pages(current, current->mm, addr, 1, 1, 1, page, | 737 | npages = get_user_pages(current, current->mm, addr, 1, 1, 0, page, |
738 | NULL); | 738 | NULL); |
739 | 739 | ||
740 | if (unlikely(npages != 1)) { | 740 | if (unlikely(npages != 1)) { |