diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index 70879c9e393689bf9a97a24e67d6a12d7a6b3f02..1d410ee4b06467cd79fc25d083783419014585c4 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c @@ -441,6 +441,7 @@ static void lapic_timer_setup(enum clock_event_mode mode, v = apic_read(APIC_LVTT); v |= (APIC_LVT_MASKED | LOCAL_TIMER_VECTOR); apic_write(APIC_LVTT, v); + apic_write(APIC_TMICT, 0xffffffff); break; case CLOCK_EVT_MODE_RESUME: /* Nothing to do here */