From cdf60f2fa7d3e0dd82ef94ec1b38e90c5a39c14b Mon Sep 17 00:00:00 2001 From: rahnds Date: Fri, 31 Mar 2000 05:14:37 +0000 Subject: [PATCH] Add interrupt counter. --- sys/arch/powerpc/mac/macintr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1