summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/dev/memerr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sun3/dev/memerr.c')
-rw-r--r--sys/arch/sun3/dev/memerr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sun3/dev/memerr.c b/sys/arch/sun3/dev/memerr.c
index 0aafc273181..37de3dbb300 100644
--- a/sys/arch/sun3/dev/memerr.c
+++ b/sys/arch/sun3/dev/memerr.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: memerr.c,v 1.8 1997/01/16 04:03:50 kstailey Exp $ */
/* $NetBSD: memerr.c,v 1.6 1996/11/13 07:05:14 thorpej Exp $ */
/*
@@ -49,6 +50,7 @@
#include <sys/device.h>
#include <machine/autoconf.h>
+#include <machine/control.h>
#include <machine/cpu.h>
#include <machine/obio.h>
#include <machine/pte.h>
@@ -170,7 +172,7 @@ memerr_interrupt(arg)
{
struct memerr_softc *sc = arg;
volatile struct memerr *me = sc->sc_reg;
- u_char csr, ctx, err;
+ u_char csr, ctx;
u_int pa, va;
int pte;