diff options
Diffstat (limited to 'drivers/kvm/paging_tmpl.h')
-rw-r--r-- | drivers/kvm/paging_tmpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/paging_tmpl.h b/drivers/kvm/paging_tmpl.h index 660243b39d84..6b094b44f8fb 100644 --- a/drivers/kvm/paging_tmpl.h +++ b/drivers/kvm/paging_tmpl.h | |||
@@ -274,7 +274,7 @@ static void FNAME(set_pte_common)(struct kvm_vcpu *vcpu, | |||
274 | access_bits &= ~PT_WRITABLE_MASK; | 274 | access_bits &= ~PT_WRITABLE_MASK; |
275 | if (is_writeble_pte(spte)) { | 275 | if (is_writeble_pte(spte)) { |
276 | spte &= ~PT_WRITABLE_MASK; | 276 | spte &= ~PT_WRITABLE_MASK; |
277 | kvm_arch_ops->tlb_flush(vcpu); | 277 | kvm_x86_ops->tlb_flush(vcpu); |
278 | } | 278 | } |
279 | if (write_fault) | 279 | if (write_fault) |
280 | *ptwrite = 1; | 280 | *ptwrite = 1; |