diff options
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r-- | drivers/kvm/kvm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index 1a03b67eb921..ae2a1bf640bc 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c | |||
@@ -670,7 +670,7 @@ static int kvm_vcpu_fault(struct vm_area_struct *vma, struct vm_fault *vmf) | |||
670 | if (vmf->pgoff == 0) | 670 | if (vmf->pgoff == 0) |
671 | page = virt_to_page(vcpu->run); | 671 | page = virt_to_page(vcpu->run); |
672 | else if (vmf->pgoff == KVM_PIO_PAGE_OFFSET) | 672 | else if (vmf->pgoff == KVM_PIO_PAGE_OFFSET) |
673 | page = virt_to_page(vcpu->pio_data); | 673 | page = virt_to_page(vcpu->arch.pio_data); |
674 | else | 674 | else |
675 | return VM_FAULT_SIGBUS; | 675 | return VM_FAULT_SIGBUS; |
676 | get_page(page); | 676 | get_page(page); |