aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/paging_tmpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h
index 7314c0944c5f..0f11792fafa6 100644
--- a/arch/x86/kvm/paging_tmpl.h
+++ b/arch/x86/kvm/paging_tmpl.h
@@ -306,9 +306,9 @@ static u64 *FNAME(fetch)(struct kvm_vcpu *vcpu, gva_t addr,
306 continue; 306 continue;
307 307
308 if (is_large_pte(*sptep)) { 308 if (is_large_pte(*sptep)) {
309 rmap_remove(vcpu->kvm, sptep);
309 set_shadow_pte(sptep, shadow_trap_nonpresent_pte); 310 set_shadow_pte(sptep, shadow_trap_nonpresent_pte);
310 kvm_flush_remote_tlbs(vcpu->kvm); 311 kvm_flush_remote_tlbs(vcpu->kvm);
311 rmap_remove(vcpu->kvm, sptep);
312 } 312 }
313 313
314 if (level == PT_DIRECTORY_LEVEL 314 if (level == PT_DIRECTORY_LEVEL