summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2019-03-21 16:51:22 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2019-03-21 16:51:22 +0000
commit3f8a5df15fd69d68e2a4c2284c5b2e101a4b2738 (patch)
tree5c3dc832238ca8a12a8caeebaed422e1fd8bdb9d /sys/arch
parent65de079633ac09847c378e642531bcab1487686b (diff)
Remove struct intrhand. It is no longer used on octeon.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/octeon/include/intr.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/arch/octeon/include/intr.h b/sys/arch/octeon/include/intr.h
index 6e13cfad1e8..fea18d5f86b 100644
--- a/sys/arch/octeon/include/intr.h
+++ b/sys/arch/octeon/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.19 2019/03/17 05:25:06 visa Exp $ */
+/* $OpenBSD: intr.h,v 1.20 2019/03/21 16:51:21 visa Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -138,26 +138,6 @@ int splraise(int);
void splx(int);
int spllower(int);
-/*
- * Interrupt control struct used by interrupt dispatchers
- * to hold interrupt handler info.
- */
-
-#include <sys/evcount.h>
-
-struct intrhand {
- struct intrhand *ih_next;
- int (*ih_fun)(void *);
- void *ih_arg;
- int ih_level;
- int ih_irq;
- struct evcount ih_count;
- int ih_flags;
-#define IH_ALLOCATED 0x01
-#define IH_MPSAFE 0x02
- cpuid_t ih_cpuid;
-};
-
void intr_barrier(void *);
/*