summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2006-07-02 02:51:14 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2006-07-02 02:51:14 +0000
commitec5374467df3e93447344904e576c349c85789d7 (patch)
tree9f50af3b100f350bfdc4debdedc1601365ba3246 /sys
parent4bb1f4bec8f58817a0001ddb187b153fcbe497b1 (diff)
count interrupts (uvmexp).
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm/xscale/i80321_intr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/arm/xscale/i80321_intr.c b/sys/arch/arm/xscale/i80321_intr.c
index ddfba8b8188..f0a3e5f0fc8 100644
--- a/sys/arch/arm/xscale/i80321_intr.c
+++ b/sys/arch/arm/xscale/i80321_intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i80321_intr.c,v 1.7 2006/06/19 05:09:14 drahn Exp $ */
+/* $OpenBSD: i80321_intr.c,v 1.8 2006/07/02 02:51:13 drahn Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@openbsd.org>
@@ -21,6 +21,8 @@
#include <sys/malloc.h>
#include <sys/evcount.h>
+#include <uvm/uvm.h> /* uvmexp */
+
#include <machine/intr.h>
#include <arm/cpufunc.h>
@@ -389,6 +391,7 @@ i80321_irq_handler(void *arg)
#endif
hwpend &= ~(1<<irq);
}
+ uvmexp.intrs++;
/* restore spl to that was when this interrupt happen */
i80321intc_setipl(saved_spl_level);