summaryrefslogtreecommitdiffstats
path: root/sys/arch/sgi/include/intr.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-09-24 14:22:48 +0000
committerderaadt <deraadt@openbsd.org>2004-09-24 14:22:48 +0000
commit75a1d6522952cd6d968fb54d6aff9a7cbb2724f3 (patch)
treeb45219bfbac09a4d47a3d8a7e681d1232819e72d /sys/arch/sgi/include/intr.h
parentDon't process NAT-T keepalives. Noted by Kamel Messaoudi. hshoexer@ ok (diff)
downloadwireguard-openbsd-75a1d6522952cd6d968fb54d6aff9a7cbb2724f3.tar.xz
wireguard-openbsd-75a1d6522952cd6d968fb54d6aff9a7cbb2724f3.zip
new style interrupt counters; pefo ok
Diffstat (limited to 'sys/arch/sgi/include/intr.h')
-rw-r--r--sys/arch/sgi/include/intr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sgi/include/intr.h b/sys/arch/sgi/include/intr.h
index 28822126337..7e9a3a847f1 100644
--- a/sys/arch/sgi/include/intr.h
+++ b/sys/arch/sgi/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.7 2004/09/21 05:51:15 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.8 2004/09/24 14:22:48 deraadt Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -213,15 +213,17 @@ void set_sint(int pending);
* to hold interrupt handler info.
*/
+#include <sys/evcount.h>
+
struct intrhand {
struct intrhand *ih_next;
int (*ih_fun)(void *);
void *ih_arg;
- u_long ih_count;
int ih_level;
int ih_irq;
char *ih_what;
void *frame;
+ struct evcount ih_count;
};
extern struct intrhand *intrhand[INTMASKSIZE];