summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-09-14 14:17:28 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-09-14 14:17:28 +0000
commitf86fd20f7920e0ce9eed94dbfa81ade1020f9bd4 (patch)
treed3e9a139df0f7b8cbe6c9989bc352cfa506c55d7 /sys/kern
parenta0c7f6a85405e690b4fe4f037a7dcb011f423de8 (diff)
remove uneeded proc.h includes
ok mpi@ kspillner@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_lkm.c3
-rw-r--r--sys/kern/kern_lock.c3
-rw-r--r--sys/kern/kern_malloc.c3
-rw-r--r--sys/kern/kern_physio.c3
-rw-r--r--sys/kern/kern_sensors.c3
-rw-r--r--sys/kern/kern_tc.c4
-rw-r--r--sys/kern/kern_watchdog.c4
-rw-r--r--sys/kern/kern_xxx.c3
-rw-r--r--sys/kern/subr_autoconf.c3
-rw-r--r--sys/kern/subr_disk.c3
-rw-r--r--sys/kern/subr_evcount.c3
-rw-r--r--sys/kern/subr_extent.c3
-rw-r--r--sys/kern/subr_pool.c3
-rw-r--r--sys/kern/sysv_ipc.c3
-rw-r--r--sys/kern/tty_conf.c3
-rw-r--r--sys/kern/tty_endrun.c3
-rw-r--r--sys/kern/tty_msts.c3
-rw-r--r--sys/kern/tty_nmea.c3
-rw-r--r--sys/kern/uipc_domain.c3
-rw-r--r--sys/kern/uipc_mbuf.c3
-rw-r--r--sys/kern/uipc_mbuf2.c3
-rw-r--r--sys/kern/uipc_socket2.c3
-rw-r--r--sys/kern/vfs_cluster.c3
-rw-r--r--sys/kern/vfs_default.c3
24 files changed, 26 insertions, 48 deletions
diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c
index a7a736b03dc..388b616a9e7 100644
--- a/sys/kern/kern_lkm.c
+++ b/sys/kern/kern_lkm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_lkm.c,v 1.48 2014/07/12 18:43:32 tedu Exp $ */
+/* $OpenBSD: kern_lkm.c,v 1.49 2014/09/14 14:17:25 jsg Exp $ */
/* $NetBSD: kern_lkm.c,v 1.31 1996/03/31 21:40:27 christos Exp $ */
/*
@@ -46,7 +46,6 @@
#include <sys/ioctl.h>
#include <sys/tty.h>
#include <sys/file.h>
-#include <sys/proc.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/vnode.h>
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index a9eb9574cd3..a2f62a1aea6 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_lock.c,v 1.45 2014/07/13 15:46:21 uebayasi Exp $ */
+/* $OpenBSD: kern_lock.c,v 1.46 2014/09/14 14:17:25 jsg Exp $ */
/*
* Copyright (c) 1995
@@ -36,7 +36,6 @@
*/
#include <sys/param.h>
-#include <sys/proc.h>
#include <sys/lock.h>
#include <sys/systm.h>
#include <sys/sched.h>
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index bd9db5137e9..07d1eb89fda 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_malloc.c,v 1.114 2014/07/13 14:59:28 tedu Exp $ */
+/* $OpenBSD: kern_malloc.c,v 1.115 2014/09/14 14:17:25 jsg Exp $ */
/* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */
/*
@@ -33,7 +33,6 @@
*/
#include <sys/param.h>
-#include <sys/proc.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/systm.h>
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c
index bf588f26ba9..bcb84149439 100644
--- a/sys/kern/kern_physio.c
+++ b/sys/kern/kern_physio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_physio.c,v 1.40 2014/07/13 23:49:40 uebayasi Exp $ */
+/* $OpenBSD: kern_physio.c,v 1.41 2014/09/14 14:17:25 jsg Exp $ */
/* $NetBSD: kern_physio.c,v 1.28 1997/05/19 10:43:28 pk Exp $ */
/*-
@@ -42,7 +42,6 @@
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/conf.h>
-#include <sys/proc.h>
#include <sys/pool.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/kern/kern_sensors.c b/sys/kern/kern_sensors.c
index 18453d15025..4a564e12a57 100644
--- a/sys/kern/kern_sensors.c
+++ b/sys/kern/kern_sensors.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sensors.c,v 1.28 2014/07/12 18:43:32 tedu Exp $ */
+/* $OpenBSD: kern_sensors.c,v 1.29 2014/09/14 14:17:25 jsg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -18,7 +18,6 @@
*/
#include <sys/param.h>
-#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index 2b3b09c748f..c98c225476b 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_tc.c,v 1.25 2014/07/12 18:43:32 tedu Exp $ */
+/* $OpenBSD: kern_tc.c,v 1.26 2014/09/14 14:17:25 jsg Exp $ */
/*
* Copyright (c) 2000 Poul-Henning Kamp <phk@FreeBSD.org>
@@ -23,7 +23,7 @@
#include <sys/param.h>
#include <sys/kernel.h>
-#include <sys/proc.h>
+#include <sys/timeout.h>
#include <sys/sysctl.h>
#include <sys/syslog.h>
#include <sys/systm.h>
diff --git a/sys/kern/kern_watchdog.c b/sys/kern/kern_watchdog.c
index 3670e0932ef..0bad9de379f 100644
--- a/sys/kern/kern_watchdog.c
+++ b/sys/kern/kern_watchdog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_watchdog.c,v 1.9 2012/10/17 22:32:01 deraadt Exp $ */
+/* $OpenBSD: kern_watchdog.c,v 1.10 2014/09/14 14:17:25 jsg Exp $ */
/*
* Copyright (c) 2003 Markus Friedl. All rights reserved.
@@ -26,7 +26,7 @@
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
-#include <sys/proc.h>
+#include <sys/timeout.h>
#include <sys/sysctl.h>
#include <sys/time.h>
diff --git a/sys/kern/kern_xxx.c b/sys/kern/kern_xxx.c
index 28645e74657..d898dbe7a46 100644
--- a/sys/kern/kern_xxx.c
+++ b/sys/kern/kern_xxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_xxx.c,v 1.26 2014/07/11 14:36:44 uebayasi Exp $ */
+/* $OpenBSD: kern_xxx.c,v 1.27 2014/09/14 14:17:25 jsg Exp $ */
/* $NetBSD: kern_xxx.c,v 1.32 1996/04/22 01:38:41 christos Exp $ */
/*
@@ -35,7 +35,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/proc.h>
#include <sys/reboot.h>
#include <sys/sysctl.h>
#include <sys/mount.h>
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c
index e716a254acb..051ef68f1a9 100644
--- a/sys/kern/subr_autoconf.c
+++ b/sys/kern/subr_autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_autoconf.c,v 1.78 2014/07/13 15:29:04 tedu Exp $ */
+/* $OpenBSD: subr_autoconf.c,v 1.79 2014/09/14 14:17:25 jsg Exp $ */
/* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */
/*
@@ -50,7 +50,6 @@
#include <sys/malloc.h>
#include <sys/systm.h>
#include <sys/queue.h>
-#include <sys/proc.h>
#include <sys/mutex.h>
#include "hotplug.h"
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index 48c51152d7d..2a9ee046573 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_disk.c,v 1.169 2014/08/30 10:44:01 miod Exp $ */
+/* $OpenBSD: subr_disk.c,v 1.170 2014/09/14 14:17:25 jsg Exp $ */
/* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */
/*
@@ -54,7 +54,6 @@
#include <sys/disk.h>
#include <sys/reboot.h>
#include <sys/dkio.h>
-#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/workq.h>
diff --git a/sys/kern/subr_evcount.c b/sys/kern/subr_evcount.c
index 51dbdd1c950..4696dee23ef 100644
--- a/sys/kern/subr_evcount.c
+++ b/sys/kern/subr_evcount.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_evcount.c,v 1.10 2010/09/20 06:33:46 matthew Exp $ */
+/* $OpenBSD: subr_evcount.c,v 1.11 2014/09/14 14:17:25 jsg Exp $ */
/*
* Copyright (c) 2004 Artur Grabowski <art@openbsd.org>
* Copyright (c) 2004 Aaron Campbell <aaron@openbsd.org>
@@ -30,7 +30,6 @@
#include <sys/timeout.h>
#include <sys/kernel.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/sysctl.h>
static TAILQ_HEAD(,evcount) evcount_list = TAILQ_HEAD_INITIALIZER(evcount_list);
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c
index 55ef07123b6..d4b0e35135f 100644
--- a/sys/kern/subr_extent.c
+++ b/sys/kern/subr_extent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_extent.c,v 1.53 2014/09/13 16:06:37 doug Exp $ */
+/* $OpenBSD: subr_extent.c,v 1.54 2014/09/14 14:17:25 jsg Exp $ */
/* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */
/*-
@@ -40,7 +40,6 @@
#include <sys/malloc.h>
#include <sys/time.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/queue.h>
#include <sys/pool.h>
#include <ddb/db_output.h>
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index 0077a15faa5..8cfdcbd5d72 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.152 2014/09/08 23:50:45 dlg Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.153 2014/09/14 14:17:25 jsg Exp $ */
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@ -33,7 +33,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/errno.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
diff --git a/sys/kern/sysv_ipc.c b/sys/kern/sysv_ipc.c
index b0b46a1ea15..a644bc4ed00 100644
--- a/sys/kern/sysv_ipc.c
+++ b/sys/kern/sysv_ipc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysv_ipc.c,v 1.6 2008/06/09 23:38:37 millert Exp $ */
+/* $OpenBSD: sysv_ipc.c,v 1.7 2014/09/14 14:17:25 jsg Exp $ */
/* $NetBSD: sysv_ipc.c,v 1.10 1995/06/03 05:53:28 mycroft Exp $ */
/*
@@ -32,7 +32,6 @@
#include <sys/param.h>
#include <sys/kernel.h>
-#include <sys/proc.h>
#include <sys/ipc.h>
#include <sys/systm.h>
#include <sys/mount.h>
diff --git a/sys/kern/tty_conf.c b/sys/kern/tty_conf.c
index a6066823afc..5bfc5d288a5 100644
--- a/sys/kern/tty_conf.c
+++ b/sys/kern/tty_conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_conf.c,v 1.18 2014/03/11 19:45:28 guenther Exp $ */
+/* $OpenBSD: tty_conf.c,v 1.19 2014/09/14 14:17:25 jsg Exp $ */
/* $NetBSD: tty_conf.c,v 1.18 1996/05/19 17:17:55 jonathan Exp $ */
/*-
@@ -40,7 +40,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ioctl.h>
-#include <sys/proc.h>
#include <sys/tty.h>
#include <sys/conf.h>
diff --git a/sys/kern/tty_endrun.c b/sys/kern/tty_endrun.c
index a7d35401961..c12b767f69f 100644
--- a/sys/kern/tty_endrun.c
+++ b/sys/kern/tty_endrun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_endrun.c,v 1.4 2014/07/12 18:43:32 tedu Exp $ */
+/* $OpenBSD: tty_endrun.c,v 1.5 2014/09/14 14:17:26 jsg Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -51,7 +51,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/sensors.h>
#include <sys/tty.h>
diff --git a/sys/kern/tty_msts.c b/sys/kern/tty_msts.c
index e87c1971507..e1f9e2423ff 100644
--- a/sys/kern/tty_msts.c
+++ b/sys/kern/tty_msts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_msts.c,v 1.17 2014/07/12 18:43:32 tedu Exp $ */
+/* $OpenBSD: tty_msts.c,v 1.18 2014/09/14 14:17:26 jsg Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -23,7 +23,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/sensors.h>
#include <sys/tty.h>
diff --git a/sys/kern/tty_nmea.c b/sys/kern/tty_nmea.c
index 9bf5c4ca05f..092d9d6be24 100644
--- a/sys/kern/tty_nmea.c
+++ b/sys/kern/tty_nmea.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_nmea.c,v 1.42 2014/07/12 18:43:32 tedu Exp $ */
+/* $OpenBSD: tty_nmea.c,v 1.43 2014/09/14 14:17:26 jsg Exp $ */
/*
* Copyright (c) 2006, 2007, 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -20,7 +20,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/sensors.h>
#include <sys/tty.h>
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c
index 67cbc10a424..5cff4d27768 100644
--- a/sys/kern/uipc_domain.c
+++ b/sys/kern/uipc_domain.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_domain.c,v 1.37 2014/07/11 21:54:38 tedu Exp $ */
+/* $OpenBSD: uipc_domain.c,v 1.38 2014/09/14 14:17:26 jsg Exp $ */
/* $NetBSD: uipc_domain.c,v 1.14 1996/02/09 19:00:44 christos Exp $ */
/*
@@ -40,7 +40,6 @@
#include <sys/time.h>
#include <sys/kernel.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/sysctl.h>
#include <sys/timeout.h>
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index ae27b0c4444..83deeaa8b1b 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf.c,v 1.193 2014/08/18 04:06:16 dlg Exp $ */
+/* $OpenBSD: uipc_mbuf.c,v 1.194 2014/09/14 14:17:26 jsg Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
/*
@@ -74,7 +74,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/kernel.h>
diff --git a/sys/kern/uipc_mbuf2.c b/sys/kern/uipc_mbuf2.c
index 7900594d9b8..257e90877bd 100644
--- a/sys/kern/uipc_mbuf2.c
+++ b/sys/kern/uipc_mbuf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf2.c,v 1.38 2014/08/18 05:11:03 dlg Exp $ */
+/* $OpenBSD: uipc_mbuf2.c,v 1.39 2014/09/14 14:17:26 jsg Exp $ */
/* $KAME: uipc_mbuf2.c,v 1.29 2001/02/14 13:42:10 itojun Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.40 1999/04/01 00:23:25 thorpej Exp $ */
@@ -64,7 +64,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/pool.h>
#include <sys/mbuf.h>
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c
index 75dac885257..d311f3e7eea 100644
--- a/sys/kern/uipc_socket2.c
+++ b/sys/kern/uipc_socket2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_socket2.c,v 1.57 2014/09/09 02:07:17 guenther Exp $ */
+/* $OpenBSD: uipc_socket2.c,v 1.58 2014/09/14 14:17:26 jsg Exp $ */
/* $NetBSD: uipc_socket2.c,v 1.11 1996/02/04 02:17:55 christos Exp $ */
/*
@@ -34,7 +34,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/file.h>
#include <sys/buf.h>
#include <sys/malloc.h>
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index 89d84c67696..cc40dfdda34 100644
--- a/sys/kern/vfs_cluster.c
+++ b/sys/kern/vfs_cluster.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_cluster.c,v 1.42 2014/07/12 18:43:32 tedu Exp $ */
+/* $OpenBSD: vfs_cluster.c,v 1.43 2014/09/14 14:17:26 jsg Exp $ */
/* $NetBSD: vfs_cluster.c,v 1.12 1996/04/22 01:39:05 christos Exp $ */
/*
@@ -33,7 +33,6 @@
*/
#include <sys/param.h>
-#include <sys/proc.h>
#include <sys/buf.h>
#include <sys/vnode.h>
#include <sys/mount.h>
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
index b3e79470238..c5dfe6735c5 100644
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_default.c,v 1.39 2011/07/04 20:35:35 deraadt Exp $ */
+/* $OpenBSD: vfs_default.c,v 1.40 2014/09/14 14:17:26 jsg Exp $ */
/*
* Portions of this code are:
@@ -38,7 +38,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <sys/namei.h>