summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/intr.h
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2004-06-28 02:28:44 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2004-06-28 02:28:44 +0000
commit2d2f1330c2629516ed3a6392bb05b754eccc7198 (patch)
treea2d1568c05e228e271d8ff8d0dc49c0fd318f85c /sys/arch/alpha/include/intr.h
parentf0dfa358923d9feb4fdf1633601becea7e11ac3d (diff)
Use new event counter API for interrupt counting on alpha. By me, with some
edits by Theo. deraadt@ ok
Diffstat (limited to 'sys/arch/alpha/include/intr.h')
-rw-r--r--sys/arch/alpha/include/intr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/intr.h b/sys/arch/alpha/include/intr.h
index 25fdcba079d..979d823ab93 100644
--- a/sys/arch/alpha/include/intr.h
+++ b/sys/arch/alpha/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.17 2004/06/13 21:49:12 niklas Exp $ */
+/* $OpenBSD: intr.h,v 1.18 2004/06/28 02:28:42 aaron Exp $ */
/* $NetBSD: intr.h,v 1.26 2000/06/03 20:47:41 thorpej Exp $ */
/*-
@@ -68,6 +68,7 @@
#ifndef _ALPHA_INTR_H_
#define _ALPHA_INTR_H_
+#include <sys/evcount.h>
#include <sys/lock.h>
#include <sys/queue.h>
#include <machine/atomic.h>
@@ -173,6 +174,7 @@ struct alpha_shared_intrhand {
void *ih_arg;
int ih_level;
unsigned int ih_num;
+ struct evcount ih_count;
};
struct alpha_shared_intr {