diff options
Diffstat (limited to 'arch/x86/kvm/paging_tmpl.h')
-rw-r--r-- | arch/x86/kvm/paging_tmpl.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h index 36dc0749c878..0fb7068d64c7 100644 --- a/arch/x86/kvm/paging_tmpl.h +++ b/arch/x86/kvm/paging_tmpl.h | |||
@@ -360,10 +360,7 @@ static u64 *FNAME(fetch)(struct kvm_vcpu *vcpu, gva_t addr, | |||
360 | kvm_flush_remote_tlbs(vcpu->kvm); | 360 | kvm_flush_remote_tlbs(vcpu->kvm); |
361 | } | 361 | } |
362 | 362 | ||
363 | if (is_large_pte(*sptep)) { | 363 | drop_large_spte(vcpu, sptep); |
364 | drop_spte(vcpu->kvm, sptep, shadow_trap_nonpresent_pte); | ||
365 | kvm_flush_remote_tlbs(vcpu->kvm); | ||
366 | } | ||
367 | 364 | ||
368 | if (level <= gw->level) { | 365 | if (level <= gw->level) { |
369 | direct = 1; | 366 | direct = 1; |