summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-08 00:03:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-08 00:03:01 +0000
commit40e978013d184f58ad582db8746aac0b92869248 (patch)
treede4b7e4be0c36b52997f60b04132cf76e82ec275
parent78e4e6f266a06179e8bb5af042d81cb629601dc4 (diff)
global decl for *intr() routines, plus add INET6
-rw-r--r--sys/arch/wgrisc/wgrisc/trap.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/wgrisc/wgrisc/trap.c b/sys/arch/wgrisc/wgrisc/trap.c
index c10a122e0dd..035476d1dbf 100644
--- a/sys/arch/wgrisc/wgrisc/trap.c
+++ b/sys/arch/wgrisc/wgrisc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.2 1997/07/23 06:58:33 denny Exp $ */
+/* $OpenBSD: trap.c,v 1.3 1999/01/08 00:03:00 deraadt Exp $ */
/*
* Copyright (c) 1988 University of Utah.
* Copyright (c) 1992, 1993
@@ -39,7 +39,7 @@
* from: Utah Hdr: trap.c 1.32 91/04/06
*
* from: @(#)trap.c 8.5 (Berkeley) 1/11/94
- * $Id: trap.c,v 1.2 1997/07/23 06:58:33 denny Exp $
+ * $Id: trap.c,v 1.3 1999/01/08 00:03:00 deraadt Exp $
*/
#include <sys/param.h>
@@ -1010,6 +1010,12 @@ interrupt(statusReg, causeReg, pc, what, args)
ipintr();
}
#endif
+#ifdef INET6
+ if (netisr & (1 << NETISR_IPV6)) {
+ netisr &= ~(1 << NETISR_IPV6);
+ ipv6intr();
+ }
+#endif
#ifdef NETATALK
if (netisr & (1 << NETISR_ATALK)) {
netisr &= ~(1 << NETISR_ATALK);