diff options
Diffstat (limited to 'arch/ia64/kvm/kvm-ia64.c')
-rw-r--r-- | arch/ia64/kvm/kvm-ia64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index d7bac1f75af0..d5f4e9161201 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -1381,7 +1381,7 @@ static void kvm_release_vm_pages(struct kvm *kvm) | |||
1381 | int i, j; | 1381 | int i, j; |
1382 | unsigned long base_gfn; | 1382 | unsigned long base_gfn; |
1383 | 1383 | ||
1384 | slots = rcu_dereference(kvm->memslots); | 1384 | slots = kvm_memslots(kvm); |
1385 | for (i = 0; i < slots->nmemslots; i++) { | 1385 | for (i = 0; i < slots->nmemslots; i++) { |
1386 | memslot = &slots->memslots[i]; | 1386 | memslot = &slots->memslots[i]; |
1387 | base_gfn = memslot->base_gfn; | 1387 | base_gfn = memslot->base_gfn; |