summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-03 21:16:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-03 21:16:24 +0000
commita0432862942e545579c0c8c4eabda9b6806569e1 (patch)
tree15fa831e4edf6a7ae80f265c25d02badbcfe013f /sys/arch
parentf36c89568e6249fc2728e08c2181dca64c2231fa (diff)
hide more inside _KERNEL; miod ok
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mvme88k/include/cpu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/include/cpu.h b/sys/arch/mvme88k/include/cpu.h
index f01aa0cdf40..c7c8b931d00 100644
--- a/sys/arch/mvme88k/include/cpu.h
+++ b/sys/arch/mvme88k/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.29 2004/07/30 19:02:08 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.30 2004/08/03 21:16:23 deraadt Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* Copyright (c) 1992, 1993
@@ -43,6 +43,8 @@
#include <sys/evcount.h>
#include <m88k/cpu.h>
+#ifdef _KERNEL
+
struct intrhand {
SLIST_ENTRY(intrhand) ih_link;
int (*ih_fn)(void *);
@@ -64,4 +66,6 @@ int intr_establish(int, struct intrhand *, const char *);
typedef SLIST_HEAD(, intrhand) intrhand_t;
extern intrhand_t intr_handlers[NVMEINTR];
+#endif /* _KERNEL */
+
#endif