summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2002-09-19 04:29:07 +0000
committergrehan <grehan@FreeBSD.org>2002-09-19 04:29:07 +0000
commit2e460fc04ba079f0be70f6ff54041d79e8d20fcd (patch)
tree7f17ced12d6b226a7544154e2bf5036ede05ea97
parentdd1398f2465b4d28c98c81b5b06f982ece071a75 (diff)
downloadFreeBSD-src-2e460fc04ba079f0be70f6ff54041d79e8d20fcd.zip
FreeBSD-src-2e460fc04ba079f0be70f6ff54041d79e8d20fcd.tar.gz
- rationalised includes
- added sigframe offset Approved by: benno
-rw-r--r--sys/powerpc/powerpc/genassym.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/sys/powerpc/powerpc/genassym.c b/sys/powerpc/powerpc/genassym.c
index 81720fc..0e1995d 100644
--- a/sys/powerpc/powerpc/genassym.c
+++ b/sys/powerpc/powerpc/genassym.c
@@ -38,27 +38,27 @@
*/
#include <sys/param.h>
-#include <sys/systm.h>
#include <sys/assym.h>
-#include <sys/proc.h>
-#include <sys/bio.h>
-#include <sys/buf.h>
#include <sys/errno.h>
-#include <sys/socket.h>
-#include <sys/mount.h>
-#include <sys/mutex.h>
-#include <sys/resource.h>
-#include <sys/resourcevar.h>
#include <sys/ktr.h>
+#include <sys/proc.h>
+#include <sys/queue.h>
+#include <sys/signal.h>
+#include <sys/smp.h>
+#include <sys/systm.h>
+#include <sys/ucontext.h>
+#include <sys/user.h>
+#include <sys/ucontext.h>
#include <sys/vmmeter.h>
+
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
-#include <net/if.h>
-#include <netinet/in.h>
+
#include <machine/pcb.h>
#include <machine/pmap.h>
+#include <machine/sigframe.h>
ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
@@ -149,3 +149,5 @@ ASSYM(KE_FLAGS, offsetof(struct kse, ke_flags));
ASSYM(KEF_ASTPENDING, KEF_ASTPENDING);
ASSYM(KEF_NEEDRESCHED, KEF_NEEDRESCHED);
+
+ASSYM(SF_UC, offsetof(struct sigframe, sf_uc));
OpenPOWER on IntegriCloud