From: rahnds Date: Fri, 31 Mar 2000 05:14:37 +0000 (+0000) Subject: Add interrupt counter. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cdf60f2fa7d3e0dd82ef94ec1b38e90c5a39c14b;p=openbsd Add interrupt counter. --- 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;