summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-04-20 22:05:45 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-04-20 22:05:45 +0000
commitdb10abfb640a50974a18e7061ec7790337b03345 (patch)
treefa36581e05f4028667b2e8de73179d482314e768 /sys/arch/i386
parent0ae0e081f1d14c8b45bec997d2a96673cc9f8f7b (diff)
remove proc.h include from uvm_map.h. This has far reaching effects, as
sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/acpi_machdep.c3
-rw-r--r--sys/arch/i386/i386/amdmsr.c3
-rw-r--r--sys/arch/i386/i386/autoconf.c3
-rw-r--r--sys/arch/i386/i386/est.c3
-rw-r--r--sys/arch/i386/i386/longrun.c3
-rw-r--r--sys/arch/i386/i386/mp_setperf.c3
-rw-r--r--sys/arch/i386/i386/p4tcc.c3
-rw-r--r--sys/arch/i386/i386/powernow-k7.c3
-rw-r--r--sys/arch/i386/i386/powernow-k8.c3
-rw-r--r--sys/arch/i386/i386/powernow.c3
-rw-r--r--sys/arch/i386/i386/sg_dma.c3
-rw-r--r--sys/arch/i386/pci/elan520.c3
-rw-r--r--sys/arch/i386/pci/glxpcib.c3
-rw-r--r--sys/arch/i386/pci/ichpcib.c3
-rw-r--r--sys/arch/i386/pci/piixpcib.c3
15 files changed, 28 insertions, 17 deletions
diff --git a/sys/arch/i386/i386/acpi_machdep.c b/sys/arch/i386/i386/acpi_machdep.c
index 23d0e882de4..d7caf9980c2 100644
--- a/sys/arch/i386/i386/acpi_machdep.c
+++ b/sys/arch/i386/i386/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.29 2010/04/07 06:33:06 kettenis Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.30 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -21,6 +21,7 @@
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/memrange.h>
+#include <sys/proc.h>
#include <sys/user.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/i386/i386/amdmsr.c b/sys/arch/i386/i386/amdmsr.c
index 48fd565c24e..77eeca48d35 100644
--- a/sys/arch/i386/i386/amdmsr.c
+++ b/sys/arch/i386/i386/amdmsr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amdmsr.c,v 1.8 2008/07/01 12:03:48 mbalmer Exp $ */
+/* $OpenBSD: amdmsr.c,v 1.9 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -25,7 +25,6 @@
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/gpio.h>
-#include <sys/sysctl.h>
#include <sys/ioctl.h>
#include <sys/conf.h>
#include <machine/amdmsr.h>
diff --git a/sys/arch/i386/i386/autoconf.c b/sys/arch/i386/i386/autoconf.c
index 67d5e0161ed..d357d5a30d3 100644
--- a/sys/arch/i386/i386/autoconf.c
+++ b/sys/arch/i386/i386/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.81 2008/07/21 04:35:54 todd Exp $ */
+/* $OpenBSD: autoconf.c,v 1.82 2010/04/20 22:05:41 tedu Exp $ */
/* $NetBSD: autoconf.c,v 1.20 1996/05/03 19:41:56 christos Exp $ */
/*-
@@ -45,6 +45,7 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/proc.h>
#include <sys/user.h>
#include <sys/buf.h>
#include <sys/dkstat.h>
diff --git a/sys/arch/i386/i386/est.c b/sys/arch/i386/i386/est.c
index e8d331ccb6d..e8eaf83e465 100644
--- a/sys/arch/i386/i386/est.c
+++ b/sys/arch/i386/i386/est.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: est.c,v 1.34 2010/03/28 03:09:50 marco Exp $ */
+/* $OpenBSD: est.c,v 1.35 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2003 Michael Eriksson.
* All rights reserved.
@@ -55,6 +55,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#include <sys/malloc.h>
diff --git a/sys/arch/i386/i386/longrun.c b/sys/arch/i386/i386/longrun.c
index 8c752df0e9b..5f775e93aa0 100644
--- a/sys/arch/i386/i386/longrun.c
+++ b/sys/arch/i386/i386/longrun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: longrun.c,v 1.14 2008/09/10 14:01:22 blambert Exp $ */
+/* $OpenBSD: longrun.c,v 1.15 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2003 Ted Unangst
* Copyright (c) 2001 Tamotsu Hattori
@@ -31,6 +31,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#include <sys/timeout.h>
diff --git a/sys/arch/i386/i386/mp_setperf.c b/sys/arch/i386/i386/mp_setperf.c
index c325f07732f..ca657b36c62 100644
--- a/sys/arch/i386/i386/mp_setperf.c
+++ b/sys/arch/i386/i386/mp_setperf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mp_setperf.c,v 1.3 2009/06/06 20:37:45 gwk Exp $ */
+/* $OpenBSD: mp_setperf.c,v 1.4 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2007 Gordon Willem Klok <gwk@openbsd.org>
*
@@ -17,6 +17,7 @@
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#include <sys/mutex.h>
diff --git a/sys/arch/i386/i386/p4tcc.c b/sys/arch/i386/i386/p4tcc.c
index bee0b595c0c..cf5ddad8ab4 100644
--- a/sys/arch/i386/i386/p4tcc.c
+++ b/sys/arch/i386/i386/p4tcc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: p4tcc.c,v 1.16 2009/11/12 04:13:15 deraadt Exp $ */
+/* $OpenBSD: p4tcc.c,v 1.17 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2003 Ted Unangst
* All rights reserved.
@@ -37,6 +37,7 @@
*/
#include <sys/param.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>
diff --git a/sys/arch/i386/i386/powernow-k7.c b/sys/arch/i386/i386/powernow-k7.c
index 4babb868c9a..27553f75516 100644
--- a/sys/arch/i386/i386/powernow-k7.c
+++ b/sys/arch/i386/i386/powernow-k7.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: powernow-k7.c,v 1.33 2007/09/07 03:50:42 gwk Exp $ */
+/* $OpenBSD: powernow-k7.c,v 1.34 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2004 Martin Végiard.
@@ -32,6 +32,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>
diff --git a/sys/arch/i386/i386/powernow-k8.c b/sys/arch/i386/i386/powernow-k8.c
index d2889b9d5e8..7e74d013cfe 100644
--- a/sys/arch/i386/i386/powernow-k8.c
+++ b/sys/arch/i386/i386/powernow-k8.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: powernow-k8.c,v 1.25 2008/06/29 03:50:49 gwk Exp $ */
+/* $OpenBSD: powernow-k8.c,v 1.26 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2004 Martin Végiard.
@@ -31,6 +31,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#include <dev/isa/isareg.h>
diff --git a/sys/arch/i386/i386/powernow.c b/sys/arch/i386/i386/powernow.c
index 85dc628d5dd..bf20f220e32 100644
--- a/sys/arch/i386/i386/powernow.c
+++ b/sys/arch/i386/i386/powernow.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: powernow.c,v 1.3 2006/12/12 23:14:27 dim Exp $ */
+/* $OpenBSD: powernow.c,v 1.4 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2004 Ted Unangst
* All rights reserved.
@@ -22,6 +22,7 @@
*/
#include <sys/param.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>
diff --git a/sys/arch/i386/i386/sg_dma.c b/sys/arch/i386/i386/sg_dma.c
index 313564f0ab6..9f924258ebe 100644
--- a/sys/arch/i386/i386/sg_dma.c
+++ b/sys/arch/i386/i386/sg_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sg_dma.c,v 1.5 2010/04/08 00:55:25 oga Exp $ */
+/* $OpenBSD: sg_dma.c,v 1.6 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2009 Owain G. Ainsworth <oga@openbsd.org>
*
@@ -54,6 +54,7 @@
#include <sys/device.h>
#include <sys/mbuf.h>
#include <sys/mutex.h>
+#include <sys/proc.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/i386/pci/elan520.c b/sys/arch/i386/pci/elan520.c
index 9c628ba2368..a0c57db6e43 100644
--- a/sys/arch/i386/pci/elan520.c
+++ b/sys/arch/i386/pci/elan520.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elan520.c,v 1.16 2009/01/14 07:58:45 grange Exp $ */
+/* $OpenBSD: elan520.c,v 1.17 2010/04/20 22:05:41 tedu Exp $ */
/* $NetBSD: elan520.c,v 1.4 2002/10/02 05:47:15 thorpej Exp $ */
/*-
@@ -40,6 +40,7 @@
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/gpio.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#include <sys/time.h>
#include <sys/timetc.h>
diff --git a/sys/arch/i386/pci/glxpcib.c b/sys/arch/i386/pci/glxpcib.c
index b8b0f92079e..157ee0d7aea 100644
--- a/sys/arch/i386/pci/glxpcib.c
+++ b/sys/arch/i386/pci/glxpcib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: glxpcib.c,v 1.8 2010/02/21 18:36:57 miod Exp $ */
+/* $OpenBSD: glxpcib.c,v 1.9 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2007 Marc Balmer <mbalmer@openbsd.org>
@@ -26,7 +26,6 @@
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/gpio.h>
-#include <sys/sysctl.h>
#include <sys/timetc.h>
#include <machine/bus.h>
diff --git a/sys/arch/i386/pci/ichpcib.c b/sys/arch/i386/pci/ichpcib.c
index 2fae05cb879..3bdd1e4bf08 100644
--- a/sys/arch/i386/pci/ichpcib.c
+++ b/sys/arch/i386/pci/ichpcib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ichpcib.c,v 1.23 2008/01/04 00:23:25 kettenis Exp $ */
+/* $OpenBSD: ichpcib.c,v 1.24 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
@@ -25,6 +25,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#ifdef __HAVE_TIMECOUNTER
#include <sys/timetc.h>
diff --git a/sys/arch/i386/pci/piixpcib.c b/sys/arch/i386/pci/piixpcib.c
index 09efa939470..a8844ecb353 100644
--- a/sys/arch/i386/pci/piixpcib.c
+++ b/sys/arch/i386/pci/piixpcib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: piixpcib.c,v 1.5 2009/10/31 12:26:36 sobrado Exp $ */
+/* $OpenBSD: piixpcib.c,v 1.6 2010/04/20 22:05:41 tedu Exp $ */
/*
* Copyright (c) 2007 Stefan Sperling <stsp@stsp.in-berlin.de>
@@ -55,6 +55,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
+#include <sys/proc.h>
#include <sys/sysctl.h>
#include <machine/bus.h>