From e92e6ef65a389b31838e07cf1a5e1ffa0fc1c4e1 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 13 Jul 2004 19:12:31 +0000 Subject: count soft ints --- sys/arch/hppa/hppa/intr.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/arch/hppa/hppa/intr.c b/sys/arch/hppa/hppa/intr.c index 1878d02629c..7ff3d9764f1 100644 --- a/sys/arch/hppa/hppa/intr.c +++ b/sys/arch/hppa/hppa/intr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.c,v 1.20 2004/06/30 21:01:08 mickey Exp $ */ +/* $OpenBSD: intr.c,v 1.21 2004/07/13 19:12:30 mickey Exp $ */ /* * Copyright (c) 2002-2004 Michael Shalayeff @@ -35,6 +35,8 @@ #include +#include /* for uvmexp */ + #include #include #include @@ -288,6 +290,9 @@ cpu_intr(void *v) if (iv->flags & HPPA_IV_CALL) continue; + if (iv->flags & HPPA_IV_SOFT) + uvmexp.softs++; + cpl = iv->pri; mtctl(frame->tf_eiem, CR_EIEM); for (r = iv->flags & HPPA_IV_SOFT; -- cgit v1.2.3