aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm')
-rw-r--r--drivers/kvm/lapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/lapic.c b/drivers/kvm/lapic.c
index a190587cf6a5..443730e689e3 100644
--- a/drivers/kvm/lapic.c
+++ b/drivers/kvm/lapic.c
@@ -853,7 +853,7 @@ void kvm_lapic_reset(struct kvm_vcpu *vcpu)
853 apic_set_reg(apic, APIC_ISR + 0x10 * i, 0); 853 apic_set_reg(apic, APIC_ISR + 0x10 * i, 0);
854 apic_set_reg(apic, APIC_TMR + 0x10 * i, 0); 854 apic_set_reg(apic, APIC_TMR + 0x10 * i, 0);
855 } 855 }
856 apic->timer.divide_count = 0; 856 update_divide_count(apic);
857 atomic_set(&apic->timer.pending, 0); 857 atomic_set(&apic->timer.pending, 0);
858 if (vcpu->vcpu_id == 0) 858 if (vcpu->vcpu_id == 0)
859 vcpu->apic_base |= MSR_IA32_APICBASE_BSP; 859 vcpu->apic_base |= MSR_IA32_APICBASE_BSP;