summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-06-26 23:24:46 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-06-26 23:24:46 +0000
commiteb23aac2d7eb652ee88e15b7d32db9f5f6b307b4 (patch)
tree03429ad5db3924bb64a9dc031b6ea1931ca9c8e6 /sys/dev/isa
parentb67846532dd844d067cf0399f4ba4c50503dbc14 (diff)
Don't #include <sys/user.h> into files that don't need the stuff
it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/aha.c3
-rw-r--r--sys/dev/isa/aic_isa.c3
-rw-r--r--sys/dev/isa/seagate.c3
-rw-r--r--sys/dev/isa/uha_isa.c4
-rw-r--r--sys/dev/isa/wds.c4
5 files changed, 7 insertions, 10 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c
index 6fefc155bfa..1ba599c9959 100644
--- a/sys/dev/isa/aha.c
+++ b/sys/dev/isa/aha.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aha.c,v 1.69 2010/05/20 00:55:17 krw Exp $ */
+/* $OpenBSD: aha.c,v 1.70 2010/06/26 23:24:44 guenther Exp $ */
/* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */
#undef AHADIAG
@@ -57,7 +57,6 @@
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/timeout.h>
#include <uvm/uvm.h>
diff --git a/sys/dev/isa/aic_isa.c b/sys/dev/isa/aic_isa.c
index cf81728a085..04b0797c562 100644
--- a/sys/dev/isa/aic_isa.c
+++ b/sys/dev/isa/aic_isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic_isa.c,v 1.5 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: aic_isa.c,v 1.6 2010/06/26 23:24:44 guenther Exp $ */
/* $NetBSD: aic6360.c,v 1.52 1996/12/10 21:27:51 thorpej Exp $ */
/*
@@ -60,7 +60,6 @@
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/queue.h>
#include <machine/bus.h>
diff --git a/sys/dev/isa/seagate.c b/sys/dev/isa/seagate.c
index 48b0fbf7205..2caee4c46a9 100644
--- a/sys/dev/isa/seagate.c
+++ b/sys/dev/isa/seagate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: seagate.c,v 1.34 2010/05/20 00:55:17 krw Exp $ */
+/* $OpenBSD: seagate.c,v 1.35 2010/06/26 23:24:44 guenther Exp $ */
/*
* ST01/02, Future Domain TMC-885, TMC-950 SCSI driver
@@ -73,7 +73,6 @@
#include <sys/device.h>
#include <sys/buf.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/queue.h>
#include <sys/malloc.h>
diff --git a/sys/dev/isa/uha_isa.c b/sys/dev/isa/uha_isa.c
index 7bb7074f0d7..8dd1c1e14ac 100644
--- a/sys/dev/isa/uha_isa.c
+++ b/sys/dev/isa/uha_isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uha_isa.c,v 1.10 2009/08/26 22:29:09 jasper Exp $ */
+/* $OpenBSD: uha_isa.c,v 1.11 2010/06/26 23:24:44 guenther Exp $ */
/* $NetBSD: uha_isa.c,v 1.5 1996/10/21 22:41:21 thorpej Exp $ */
/*
@@ -36,7 +36,7 @@
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/proc.h>
-#include <sys/user.h>
+#include <uvm/uvm_extern.h>
#include <machine/bus.h>
#include <machine/intr.h>
diff --git a/sys/dev/isa/wds.c b/sys/dev/isa/wds.c
index d9008aba071..1e4e6c7f554 100644
--- a/sys/dev/isa/wds.c
+++ b/sys/dev/isa/wds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wds.c,v 1.34 2010/05/20 00:55:17 krw Exp $ */
+/* $OpenBSD: wds.c,v 1.35 2010/06/26 23:24:44 guenther Exp $ */
/* $NetBSD: wds.c,v 1.13 1996/11/03 16:20:31 mycroft Exp $ */
#undef WDSDIAG
@@ -67,7 +67,7 @@
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/proc.h>
-#include <sys/user.h>
+#include <uvm/uvm_extern.h>
#include <machine/bus.h>
#include <machine/intr.h>