diff options
author | 1996-04-18 12:00:25 +0000 | |
---|---|---|
committer | 1996-04-18 12:00:25 +0000 | |
commit | 2ad1a56fe96fec2005e31b6c2737f32acbbfcfa1 (patch) | |
tree | 47ffe16c2e54803dc86e618c9f275cba8364684a | |
parent | Fix format strings in printfs. (diff) | |
download | wireguard-openbsd-2ad1a56fe96fec2005e31b6c2737f32acbbfcfa1.tar.xz wireguard-openbsd-2ad1a56fe96fec2005e31b6c2737f32acbbfcfa1.zip |
Add stray interrupts counters.
-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 |