summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2004-02-11 10:49:30 +0000
committergrehan <grehan@FreeBSD.org>2004-02-11 10:49:30 +0000
commit158136b65fc758edacbbfdcff7e2f520b230d36e (patch)
tree3643162b12e548838fffd414a332868466d2c020 /sys/powerpc
parent242aa0b62c1e42bdfb6f75397ec3dbec897bd0c0 (diff)
downloadFreeBSD-src-158136b65fc758edacbbfdcff7e2f520b230d36e.zip
FreeBSD-src-158136b65fc758edacbbfdcff7e2f520b230d36e.tar.gz
Clean up header files, which fixes compile warning.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/powerpc/critical.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/powerpc/powerpc/critical.c b/sys/powerpc/powerpc/critical.c
index 55cd7fb..bd89a22 100644
--- a/sys/powerpc/powerpc/critical.c
+++ b/sys/powerpc/powerpc/critical.c
@@ -29,17 +29,8 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/pcpu.h>
-#include <sys/eventhandler.h> /* XX */
-#include <sys/ktr.h> /* XX */
-#include <sys/signalvar.h>
-#include <sys/sysproto.h> /* XX */
-#include <sys/kernel.h>
#include <sys/proc.h>
-#include <sys/lock.h>
-#include <sys/mutex.h>
-#include <sys/sysctl.h>
-#include <sys/ucontext.h>
+#include <machine/critical.h>
/*
* cpu_critical_fork_exit() - cleanup after fork
OpenPOWER on IntegriCloud