KVM: Introduce kvm_memory_slot::arch and move lpage_info into it
[linux-2.6.git] / arch / x86 / kvm / mmu.c
index 37e7f10..ff053ca 100644 (file)
@@ -689,7 +689,7 @@ static struct kvm_lpage_info *lpage_info_slot(gfn_t gfn,
        unsigned long idx;
 
        idx = gfn_to_index(gfn, slot->base_gfn, level);
-       return &slot->lpage_info[level - 2][idx];
+       return &slot->arch.lpage_info[level - 2][idx];
 }
 
 static void account_shadowed(struct kvm *kvm, gfn_t gfn)