summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-11-27 06:51:39 +0000
committerdas <das@FreeBSD.org>2004-11-27 06:51:39 +0000
commit130bed654798f5974ea1b814996c1b960dc03919 (patch)
treeee0da1ed6777c64e0cd28bc317983024127c0118 /sys/powerpc/aim
parent0b21c939c0a54cb34f0810d1353e74009ad7176a (diff)
downloadFreeBSD-src-130bed654798f5974ea1b814996c1b960dc03919.zip
FreeBSD-src-130bed654798f5974ea1b814996c1b960dc03919.tar.gz
Don't include sys/user.h merely for its side-effect of recursively
including other headers.
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/machdep.c2
-rw-r--r--sys/powerpc/aim/trap.c1
-rw-r--r--sys/powerpc/aim/vm_machdep.c3
3 files changed, 2 insertions, 4 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index b98689b..c09fcf5 100644
--- a/sys/powerpc/aim/machdep.c
+++ b/sys/powerpc/aim/machdep.c
@@ -97,13 +97,13 @@ __FBSDID("$FreeBSD$");
#include <vm/vm_extern.h>
#include <vm/vm_object.h>
#include <vm/vm_pager.h>
-#include <sys/user.h>
#include <sys/ptrace.h>
#include <machine/bat.h>
#include <machine/clock.h>
#include <machine/cpu.h>
#include <machine/md_var.h>
#include <machine/metadata.h>
+#include <machine/pcb.h>
#include <machine/reg.h>
#include <machine/fpu.h>
#include <machine/vmparam.h>
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c
index d6ed9ca..ab36e46 100644
--- a/sys/powerpc/aim/trap.c
+++ b/sys/powerpc/aim/trap.c
@@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <sys/sysent.h>
#include <sys/systm.h>
#include <sys/uio.h>
-#include <sys/user.h>
#ifdef KTRACE
#include <sys/ktrace.h>
#endif
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c
index 3b19213..fb93d5c 100644
--- a/sys/powerpc/aim/vm_machdep.c
+++ b/sys/powerpc/aim/vm_machdep.c
@@ -89,6 +89,7 @@
#include <machine/fpu.h>
#include <machine/frame.h>
#include <machine/md_var.h>
+#include <machine/pcb.h>
#include <dev/ofw/openfirm.h>
@@ -99,8 +100,6 @@
#include <vm/vm_map.h>
#include <vm/vm_extern.h>
-#include <sys/user.h>
-
/*
* Finish a fork operation, with process p2 nearly set up.
* Copy and update the pcb, set up the stack so that the child
OpenPOWER on IntegriCloud