summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--device/ds_routines.c1
-rw-r--r--ipc/ipc_kmsg.c1
-rw-r--r--kern/bootstrap.c1
-rw-r--r--kern/exception.c1
-rw-r--r--kern/ipc_mig.c1
-rw-r--r--kern/sched_prim.c3
-rw-r--r--kern/time_stamp.c1
-rw-r--r--vm/vm_kern.c1
9 files changed, 17 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d2e106e..5b5c52d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,14 @@
expects.
* linux/dev/kernel/printk.c: Include <device/cons.h>
(cnputc): Remove prototype.
+ * device/ds_routines.c: Include <machine/locore.h>
+ * ipc/ipc_kmsg.c: Likewise.
+ * kern/bootstrap.c: Likewise.
+ * kern/exception.c: Likewise.
+ * kern/ipc_mig.c: Likewise.
+ * kern/sched_prim.c: Likewise.
+ * kern/time_stamp.c: Likewise.
+ * vm/vm_kern.c: Likewise.
2008-07-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
diff --git a/device/ds_routines.c b/device/ds_routines.c
index 8b5e1e5..61eec99 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -62,6 +62,7 @@
#include <mach/port.h>
#include <mach/vm_param.h>
#include <mach/notify.h>
+#include <machine/locore.h>
#include <machine/machspl.h> /* spl definitions */
#include <ipc/ipc_port.h>
diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c
index 5ad8d61..e0f76c2 100644
--- a/ipc/ipc_kmsg.c
+++ b/ipc/ipc_kmsg.c
@@ -41,6 +41,7 @@
#include <mach/kern_return.h>
#include <mach/message.h>
#include <mach/port.h>
+#include <machine/locore.h>
#include <kern/assert.h>
#include <kern/kalloc.h>
#include <vm/vm_map.h>
diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index ad501d6..83c6942 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -35,6 +35,7 @@
#include <mach/port.h>
#include <mach/message.h>
+#include <machine/locore.h>
#include <machine/vm_param.h>
#include <ipc/ipc_port.h>
#include <kern/debug.h>
diff --git a/kern/exception.c b/kern/exception.c
index 2727d56..830d273 100644
--- a/kern/exception.c
+++ b/kern/exception.c
@@ -29,6 +29,7 @@
#include <mach/message.h>
#include <mach/port.h>
#include <mach/mig_errors.h>
+#include <machine/locore.h>
#include <ipc/port.h>
#include <ipc/ipc_entry.h>
#include <ipc/ipc_object.h>
diff --git a/kern/ipc_mig.c b/kern/ipc_mig.c
index 3adfdeb..72750ef 100644
--- a/kern/ipc_mig.c
+++ b/kern/ipc_mig.c
@@ -28,6 +28,7 @@
#include <mach/port.h>
#include <mach/message.h>
#include <mach/thread_status.h>
+#include <machine/locore.h>
#include <kern/ast.h>
#include <kern/debug.h>
#include <kern/ipc_tt.h>
diff --git a/kern/sched_prim.c b/kern/sched_prim.c
index 2596fa1..70e253d 100644
--- a/kern/sched_prim.c
+++ b/kern/sched_prim.c
@@ -34,6 +34,8 @@
#include <kern/printf.h>
#include <mach/machine.h>
+#include <machine/locore.h>
+#include <machine/machspl.h> /* For def'n of splsched() */
#include <kern/ast.h>
#include <kern/counters.h>
#include <kern/cpu_number.h>
@@ -52,7 +54,6 @@
#include <vm/pmap.h>
#include <vm/vm_kern.h>
#include <vm/vm_map.h>
-#include <machine/machspl.h> /* For def'n of splsched() */
#if MACH_FIXPRI
#include <mach/policy.h>
diff --git a/kern/time_stamp.c b/kern/time_stamp.c
index fdb02fc..22885b1 100644
--- a/kern/time_stamp.c
+++ b/kern/time_stamp.c
@@ -25,6 +25,7 @@
*/
#include <mach/std_types.h>
+#include <machine/locore.h>
#include <sys/time.h>
#include <kern/time_stamp.h>
diff --git a/vm/vm_kern.c b/vm/vm_kern.c
index 2864fa1..bb6c110 100644
--- a/vm/vm_kern.c
+++ b/vm/vm_kern.c
@@ -37,6 +37,7 @@
#include <string.h>
#include <mach/kern_return.h>
+#include <machine/locore.h>
#include <machine/vm_param.h>
#include <kern/assert.h>
#include <kern/debug.h>