summaryrefslogtreecommitdiffstats
path: root/sys/pc98/i386
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-02-06 01:55:08 +0000
committernjl <njl@FreeBSD.org>2005-02-06 01:55:08 +0000
commit2958530007b5b44425d9a8edf3d34f7732fdfcba (patch)
tree34fe2fd5a4f6db57d38793f608bedf1c01fdd0d9 /sys/pc98/i386
parentd433625cac405808a9c7b80587e5ff1fc0698c71 (diff)
downloadFreeBSD-src-2958530007b5b44425d9a8edf3d34f7732fdfcba.zip
FreeBSD-src-2958530007b5b44425d9a8edf3d34f7732fdfcba.tar.gz
Finish the job of sorting all includes and fix the build by including
malloc.h before proc.h on sparc64. Noticed by das@ Compiled on: alpha, amd64, i386, pc98, sparc64
Diffstat (limited to 'sys/pc98/i386')
-rw-r--r--sys/pc98/i386/machdep.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index cb4f75a..e5492ff 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -52,13 +52,16 @@
#include "opt_perfmon.h"
#include <sys/param.h>
+#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/bio.h>
#include <sys/buf.h>
#include <sys/bus.h>
#include <sys/callout.h>
+#include <sys/cons.h>
#include <sys/cpu.h>
#include <sys/eventhandler.h>
+#include <sys/exec.h>
#include <sys/imgact.h>
#include <sys/kdb.h>
#include <sys/kernel.h>
@@ -70,6 +73,7 @@
#include <sys/msgbuf.h>
#include <sys/mutex.h>
#include <sys/pcpu.h>
+#include <sys/ptrace.h>
#include <sys/proc.h>
#include <sys/reboot.h>
#include <sys/sched.h>
@@ -81,16 +85,13 @@
#include <sys/vmmeter.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
+#include <vm/vm_extern.h>
#include <vm/vm_kern.h>
#include <vm/vm_object.h>
#include <vm/vm_page.h>
#include <vm/vm_map.h>
#include <vm/vm_pager.h>
-#include <vm/vm_extern.h>
-
-#include <sys/exec.h>
-#include <sys/cons.h>
+#include <vm/vm_param.h>
#ifdef DDB
#ifndef KDB
@@ -102,19 +103,20 @@
#include <net/netisr.h>
+#include <machine/bootinfo.h>
#include <machine/clock.h>
#include <machine/cpu.h>
#include <machine/cputypes.h>
-#include <machine/reg.h>
-#include <machine/clock.h>
-#include <machine/specialreg.h>
-#include <machine/bootinfo.h>
#include <machine/intr_machdep.h>
#include <machine/md_var.h>
#include <machine/pc/bios.h>
#include <machine/pcb.h>
#include <machine/pcb_ext.h>
#include <machine/proc.h>
+#include <machine/reg.h>
+#include <machine/sigframe.h>
+#include <machine/specialreg.h>
+#include <machine/vm86.h>
#ifdef PERFMON
#include <machine/perfmon.h>
#endif
@@ -133,9 +135,6 @@
#else
#include <isa/rtc.h>
#endif
-#include <machine/vm86.h>
-#include <sys/ptrace.h>
-#include <machine/sigframe.h>
/* Sanity check for __curthread() */
CTASSERT(offsetof(struct pcpu, pc_curthread) == 0);
OpenPOWER on IntegriCloud