diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-07-13 19:12:31 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-07-13 19:12:31 +0000 |
commit | e92e6ef65a389b31838e07cf1a5e1ffa0fc1c4e1 (patch) | |
tree | 4e01216619ab32ba250f9b92856bb6ae08237fcf /sys/arch/hppa | |
parent | 7378cee71691879cad6a211e6845778684cd2166 (diff) |
count soft ints
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/intr.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 <net/netisr.h> +#include <uvm/uvm_extern.h> /* for uvmexp */ + #include <machine/autoconf.h> #include <machine/frame.h> #include <machine/reg.h> @@ -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; |