summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/hppa/intr.c7
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;