diff options
Diffstat (limited to 'arch/x86/machine')
-rw-r--r-- | arch/x86/machine/lapic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/machine/lapic.c b/arch/x86/machine/lapic.c index 6ba3ddd..d74e676 100644 --- a/arch/x86/machine/lapic.c +++ b/arch/x86/machine/lapic.c @@ -342,6 +342,9 @@ lapic_pmc_of_intr(struct trap_frame *frame) #ifdef CONFIG_PERFMON perfmon_of_intr(); + + /* Resets the interupt as it is auto cleared when it fires */ + lapic_write(&lapic_map->lvt_pmc, TRAP_LAPIC_PMC_OF); #endif lapic_eoi(); |