summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/mac/macintr.c
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>2000-03-31 05:14:38 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>2000-03-31 05:14:38 +0000
commit8ba5e98e2c490882d92e8d1e6f441cca396a1543 (patch)
tree4a9410357000410a6eb8766772eed0c35bc16181 /sys/arch/powerpc/mac/macintr.c
parent872794203e56c14e3a463fb1b5307cb8a8e6fcec (diff)
Add interrupt counter.
Diffstat (limited to 'sys/arch/powerpc/mac/macintr.c')
-rw-r--r--sys/arch/powerpc/mac/macintr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/powerpc/mac/macintr.c b/sys/arch/powerpc/mac/macintr.c
index c729d2b8b77..4e7ca1ed9d7 100644
--- a/sys/arch/powerpc/mac/macintr.c
+++ b/sys/arch/powerpc/mac/macintr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macintr.c,v 1.2 2000/03/20 07:26:50 rahnds Exp $ */
+/* $OpenBSD: macintr.c,v 1.3 2000/03/31 05:14:37 rahnds Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -481,6 +481,7 @@ printf("mac_intr \n");
start:
irq = 31 - cntlzw(int_state);
+ intrcnt[hwirq[irq]]++;
o_imen = imen;
r_imen = 1 << irq;