From: mickey Date: Thu, 18 Apr 1996 12:00:25 +0000 (+0000) Subject: Add stray interrupts counters. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2ad1a56fe96fec2005e31b6c2737f32acbbfcfa1;p=openbsd Add stray interrupts counters. --- 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