aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 5c4c16662c68..c89bf230af67 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -852,9 +852,9 @@ static struct kvm_mmu_page *kvm_mmu_get_page(struct kvm_vcpu *vcpu,
852 sp->gfn = gfn; 852 sp->gfn = gfn;
853 sp->role = role; 853 sp->role = role;
854 hlist_add_head(&sp->hash_link, bucket); 854 hlist_add_head(&sp->hash_link, bucket);
855 vcpu->arch.mmu.prefetch_page(vcpu, sp);
856 if (!metaphysical) 855 if (!metaphysical)
857 rmap_write_protect(vcpu->kvm, gfn); 856 rmap_write_protect(vcpu->kvm, gfn);
857 vcpu->arch.mmu.prefetch_page(vcpu, sp);
858 return sp; 858 return sp;
859} 859}
860 860