summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2010-06-27 05:52:02 +0000
committerBob Beck <beck@cvs.openbsd.org>2010-06-27 05:52:02 +0000
commitb12ddab7d8013feccaa4cc82df5b8cf07d38afb6 (patch)
tree87b4999303c2385426bf7b55b8ed1bd71709bc13 /sys/arch
parentc0728d07cb9f081d4ebd094f5475f3542a8db633 (diff)
make sparc compile again after tag team viking/guenther breakage.
ok kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/dma.c4
-rw-r--r--sys/arch/sparc/dev/esp.c4
-rw-r--r--sys/arch/sparc/dev/si.c4
-rw-r--r--sys/arch/sparc/sparc/autoconf.c3
4 files changed, 11 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/dma.c b/sys/arch/sparc/dev/dma.c
index a6622630094..191ec5f51c9 100644
--- a/sys/arch/sparc/dev/dma.c
+++ b/sys/arch/sparc/dev/dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dma.c,v 1.26 2010/06/26 23:24:44 guenther Exp $ */
+/* $OpenBSD: dma.c,v 1.27 2010/06/27 05:52:01 beck Exp $ */
/* $NetBSD: dma.c,v 1.46 1997/08/27 11:24:16 bouyer Exp $ */
/*
@@ -45,6 +45,8 @@
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
+#include <uvm/uvm_extern.h>
+
#include <dev/ic/ncr53c9xreg.h>
#include <dev/ic/ncr53c9xvar.h>
diff --git a/sys/arch/sparc/dev/esp.c b/sys/arch/sparc/dev/esp.c
index fbc50506ab1..67278090203 100644
--- a/sys/arch/sparc/dev/esp.c
+++ b/sys/arch/sparc/dev/esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esp.c,v 1.30 2010/06/26 23:24:44 guenther Exp $ */
+/* $OpenBSD: esp.c,v 1.31 2010/06/27 05:52:01 beck Exp $ */
/* $NetBSD: esp.c,v 1.69 1997/08/27 11:24:18 bouyer Exp $ */
/*
@@ -112,6 +112,8 @@
#include <scsi/scsiconf.h>
#include <scsi/scsi_message.h>
+#include <uvm/uvm_extern.h>
+
#include <machine/cpu.h>
#include <machine/autoconf.h>
diff --git a/sys/arch/sparc/dev/si.c b/sys/arch/sparc/dev/si.c
index 04835270bc9..05e24802c0b 100644
--- a/sys/arch/sparc/dev/si.c
+++ b/sys/arch/sparc/dev/si.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: si.c,v 1.33 2010/06/26 23:24:44 guenther Exp $ */
+/* $OpenBSD: si.c,v 1.34 2010/06/27 05:52:01 beck Exp $ */
/* $NetBSD: si.c,v 1.38 1997/08/27 11:24:20 bouyer Exp $ */
/*-
@@ -99,6 +99,8 @@
#include <scsi/scsi_debug.h>
#include <scsi/scsiconf.h>
+#include <uvm/uvm_extern.h>
+
#include <machine/autoconf.h>
#include <machine/cpu.h>
#include <machine/pmap.h>
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c
index 401a183e7c6..34d8f2fcbc9 100644
--- a/sys/arch/sparc/sparc/autoconf.c
+++ b/sys/arch/sparc/sparc/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.87 2010/06/26 23:24:44 guenther Exp $ */
+/* $OpenBSD: autoconf.c,v 1.88 2010/06/27 05:52:01 beck Exp $ */
/* $NetBSD: autoconf.c,v 1.73 1997/07/29 09:41:53 fair Exp $ */
/*
@@ -57,6 +57,7 @@
#include <sys/malloc.h>
#include <sys/queue.h>
#include <sys/proc.h>
+#include <sys/user.h>
#include <net/if.h>