summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-03-28 09:17:56 +0000
committerjhb <jhb@FreeBSD.org>2001-03-28 09:17:56 +0000
commitb47bfbe544d34ff21bc24b57c556621eb2355e45 (patch)
tree6869afd0b266ec1a53538458bd3851edeeca014d /sys/kern
parentfc959358c9cfd55db6d055b3af2e84ebcc01f553 (diff)
downloadFreeBSD-src-b47bfbe544d34ff21bc24b57c556621eb2355e45.zip
FreeBSD-src-b47bfbe544d34ff21bc24b57c556621eb2355e45.tar.gz
Catch up to header include changes:
- <sys/mutex.h> now requires <sys/systm.h> - <sys/mutex.h> and <sys/sx.h> now require <sys/lock.h>
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/imgact_elf.c1
-rw-r--r--sys/kern/kern_clock.c2
-rw-r--r--sys/kern/kern_exit.c2
-rw-r--r--sys/kern/kern_intr.c1
-rw-r--r--sys/kern/kern_resource.c4
-rw-r--r--sys/kern/kern_switch.c1
-rw-r--r--sys/kern/kern_timeout.c1
-rw-r--r--sys/kern/subr_eventhandler.c1
8 files changed, 9 insertions, 4 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
index f35f864..048f478 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -38,6 +38,7 @@
#include <sys/imgact.h>
#include <sys/imgact_elf.h>
#include <sys/kernel.h>
+#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/mman.h>
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 6e99f24..72d8c62 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -47,6 +47,7 @@
#include <sys/callout.h>
#include <sys/ipl.h>
#include <sys/kernel.h>
+#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/resourcevar.h>
@@ -54,7 +55,6 @@
#include <sys/timetc.h>
#include <sys/timepps.h>
#include <vm/vm.h>
-#include <sys/lock.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
#include <sys/sysctl.h>
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 7ddf7f0..dec02a5 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -47,6 +47,7 @@
#include <sys/sysproto.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/pioctl.h>
@@ -65,7 +66,6 @@
#include <vm/vm.h>
#include <vm/vm_param.h>
-#include <sys/lock.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
#include <vm/vm_zone.h>
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index 0113967..aa4d84a 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -37,6 +37,7 @@
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/ktr.h>
+#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/proc.h>
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index d4a61eb..61ec330 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -47,15 +47,15 @@
#include <sys/sysproto.h>
#include <sys/file.h>
#include <sys/kernel.h>
-#include <sys/resourcevar.h>
+#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <sys/resourcevar.h>
#include <sys/time.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
-#include <sys/lock.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c
index 0a6a9d4..e7e1dc5 100644
--- a/sys/kern/kern_switch.c
+++ b/sys/kern/kern_switch.c
@@ -30,6 +30,7 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/ktr.h>
+#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/queue.h>
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index 6543b41..99fe471 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -43,6 +43,7 @@
#include <sys/systm.h>
#include <sys/callout.h>
#include <sys/kernel.h>
+#include <sys/lock.h>
#include <sys/mutex.h>
/*
diff --git a/sys/kern/subr_eventhandler.c b/sys/kern/subr_eventhandler.c
index 5c524d8..5e1ce48 100644
--- a/sys/kern/subr_eventhandler.c
+++ b/sys/kern/subr_eventhandler.c
@@ -28,6 +28,7 @@
#include <sys/param.h>
#include <sys/kernel.h>
+#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/systm.h>
OpenPOWER on IntegriCloud