Tally all interrupts, not only FASTINTR ones
authortholo <tholo@openbsd.org>
Wed, 14 Feb 1996 07:12:43 +0000 (07:12 +0000)
committertholo <tholo@openbsd.org>
Wed, 14 Feb 1996 07:12:43 +0000 (07:12 +0000)
sys/arch/i386/isa/vector.s

index 98ba7ff..82202e3 100644 (file)
@@ -214,6 +214,7 @@ _Xintr/**/irq_num/**/:                                                      ;\
        MAKE_FRAME                                                      ;\
        MASK(irq_num, icu)              /* mask it in hardware */       ;\
        ack(irq_num)                    /* and allow other intrs */     ;\
+       incl    _cnt+V_INTR             /* statistical info */          ;\
        testb   $IRQ_BIT(irq_num),_cpl + IRQ_BYTE(irq_num)              ;\
        jnz     _Xhold/**/irq_num       /* currently masked; hold it */ ;\
 _Xresume/**/irq_num/**/:                                               ;\