summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-09-30 16:23:00 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-09-30 16:23:00 +0000
commit757242e84b35ff9d64f7490e8c7df131697c6f76 (patch)
tree9e9b34b3b88b1ba2fca2f17afb638481d1ead4a9
parent707364cc82354c82d24f372a70a283a6bc3f795c (diff)
Protect struct isr with #ifdef _KERNEL since struct evcount is
not visible unless _KERNEL is defined. OK miod@
-rw-r--r--sys/arch/hp300/include/intr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/include/intr.h b/sys/arch/hp300/include/intr.h
index 36afd870b1b..afe0f392a31 100644
--- a/sys/arch/hp300/include/intr.h
+++ b/sys/arch/hp300/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.12 2004/09/29 07:35:54 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.13 2004/09/30 16:22:59 millert Exp $ */
/* $NetBSD: intr.h,v 1.2 1997/07/24 05:43:08 scottr Exp $ */
/*-
@@ -44,6 +44,7 @@
#include <sys/evcount.h>
#include <sys/queue.h>
+#ifdef _KERNEL
struct isr {
LIST_ENTRY(isr) isr_link;
int (*isr_func)(void *);
@@ -53,7 +54,6 @@ struct isr {
struct evcount isr_count;
};
-#ifdef _KERNEL
/*
* spl functions; all but spl0 are done in-line
*/