diff options
Diffstat (limited to 'arch/powerpc/kvm/book3s.c')
-rw-r--r-- | arch/powerpc/kvm/book3s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index 803505d3e455..bb8873dcb20f 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c | |||
@@ -865,7 +865,7 @@ int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, | |||
865 | 865 | ||
866 | /* If nothing is dirty, don't bother messing with page tables. */ | 866 | /* If nothing is dirty, don't bother messing with page tables. */ |
867 | if (is_dirty) { | 867 | if (is_dirty) { |
868 | memslot = &kvm->memslots[log->slot]; | 868 | memslot = &kvm->memslots->memslots[log->slot]; |
869 | 869 | ||
870 | ga = memslot->base_gfn << PAGE_SHIFT; | 870 | ga = memslot->base_gfn << PAGE_SHIFT; |
871 | ga_end = ga + (memslot->npages << PAGE_SHIFT); | 871 | ga_end = ga + (memslot->npages << PAGE_SHIFT); |