summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2011-12-17 15:54:47 +0000
committerRichard Braun <rbraun@sceen.net>2011-12-17 22:12:52 +0000
commit5988ae8fb41ace936e48e5a972abe1c5acc8f8af (patch)
treec3d64713eedb17352621a2ed61147d7bbad7a055 /kern
parent7fa0de680bbfed02e09ad517788fe336c0d855cc (diff)
Fix kern/kalloc.h includes
* device/dev_pager.c: Remove #include <kern/kalloc.h>. * i386/i386/io_perm.c: Add #include <kern/kalloc.h>. * kern/bootstrap.c: Likewise. * kern/ipc_tt.c: Likewise. * kern/pc_sample.c: Likewise. * kern/processor.c: Likewise. * kern/server_loop.ch: Likewise. * kern/thread.c: Likewise. * linux/dev/glue/block.c: Likewise. * linux/dev/glue/net.c: Likewise. * vm/vm_map.c: Likewise. * xen/block.c: Likewise. * xen/net.c: Likewise. * xen/store.c: Likewise.
Diffstat (limited to 'kern')
-rw-r--r--kern/bootstrap.c1
-rw-r--r--kern/ipc_tt.c1
-rw-r--r--kern/pc_sample.c1
-rw-r--r--kern/processor.c1
-rw-r--r--kern/server_loop.ch1
-rw-r--r--kern/thread.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index 2c63df4..68f40b4 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -42,6 +42,7 @@
#include <kern/debug.h>
#include <kern/host.h>
#include <kern/printf.h>
+#include <kern/kalloc.h>
#include <kern/task.h>
#include <kern/thread.h>
#include <kern/lock.h>
diff --git a/kern/ipc_tt.c b/kern/ipc_tt.c
index de4edc6..6d32e5b 100644
--- a/kern/ipc_tt.c
+++ b/kern/ipc_tt.c
@@ -36,6 +36,7 @@
#include <mach/thread_special_ports.h>
#include <vm/vm_kern.h>
#include <kern/debug.h>
+#include <kern/kalloc.h>
#include <kern/task.h>
#include <kern/thread.h>
#include <kern/ipc_kobject.h>
diff --git a/kern/pc_sample.c b/kern/pc_sample.c
index c82707b..2cec907 100644
--- a/kern/pc_sample.c
+++ b/kern/pc_sample.c
@@ -31,6 +31,7 @@
#include <mach/std_types.h> /* pointer_t */
#include <mach/pc_sample.h>
#include <machine/trap.h>
+#include <kern/kalloc.h>
#include <kern/host.h>
#include <kern/thread.h>
#include <kern/pc_sample.h>
diff --git a/kern/processor.c b/kern/processor.c
index 3ece341..1986860 100644
--- a/kern/processor.c
+++ b/kern/processor.c
@@ -35,6 +35,7 @@
#include <mach/vm_param.h>
#include <kern/cpu_number.h>
#include <kern/debug.h>
+#include <kern/kalloc.h>
#include <kern/lock.h>
#include <kern/host.h>
#include <kern/ipc_tt.h>
diff --git a/kern/server_loop.ch b/kern/server_loop.ch
index 1aa7edb..409e013 100644
--- a/kern/server_loop.ch
+++ b/kern/server_loop.ch
@@ -39,6 +39,7 @@
*/
#include <kern/debug.h>
+#include <kern/kalloc.h>
#include <mach/port.h>
#include <mach/message.h>
#include <vm/vm_kern.h> /* for kernel_map */
diff --git a/kern/thread.c b/kern/thread.c
index f23af58..0a59f07 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -54,6 +54,7 @@
#include <kern/thread.h>
#include <kern/thread_swap.h>
#include <kern/host.h>
+#include <kern/kalloc.h>
#include <kern/slab.h>
#include <kern/mach_clock.h>
#include <vm/vm_kern.h>