diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-04-18 12:00:26 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-04-18 12:00:26 +0000 |
commit | 6bae5ce99d15027f5ece30547d65f1b5d655541a (patch) | |
tree | fbc5edbc3103ee4ff7082ed651133bc26381af2d /sys/arch/i386 | |
parent | d3476573d9175c83d9ccbf1fa4c4bb102df4f074 (diff) |
Add stray interrupts counters.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/isa/isa_machdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arch/i386/isa/isa_machdep.c b/sys/arch/i386/isa/isa_machdep.c index 044e9478acf..dc21d08587b 100644 --- a/sys/arch/i386/isa/isa_machdep.c +++ b/sys/arch/i386/isa/isa_machdep.c @@ -145,6 +145,7 @@ isa_nmi() return(0); } +u_long intrstray[ICU_LEN] = {0}; /* * Caught a stray interrupt, notify */ @@ -154,6 +155,8 @@ isa_strayintr(irq) { static u_long strays; + intrstray[irq]++; + /* * Stray interrupts on irq 7 occur when an interrupt line is raised * and then lowered before the CPU acknowledges it. This generally |