]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/mips/kernel/smtc.c
[MIPS] Count timer interrupts correctly.
[net-next-2.6.git] / arch / mips / kernel / smtc.c
index 2e011470c347d34389d660ab6f748d583d1b75d4..046b03b1705ab5177f0c2f8bf8ce5ef8d48f0c05 100644 (file)
@@ -822,7 +822,7 @@ void ipi_decode(struct smtc_ipi *pipi)
        switch (type_copy) {
        case SMTC_CLOCK_TICK:
                irq_enter();
-               kstat_this_cpu.irqs[MIPS_CPU_IRQ_BASE + cp0_perfcount_irq]++;
+               kstat_this_cpu.irqs[MIPS_CPU_IRQ_BASE + cp0_compare_irq]++;
                /* Invoke Clock "Interrupt" */
                ipi_timer_latch[dest_copy] = 0;
 #ifdef CONFIG_SMTC_IDLE_HOOK_DEBUG