summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/powerpc/include/trap.h4
-rw-r--r--sys/powerpc/include/trap_aim.h5
-rw-r--r--sys/powerpc/include/trap_booke.h5
3 files changed, 10 insertions, 4 deletions
diff --git a/sys/powerpc/include/trap.h b/sys/powerpc/include/trap.h
index 271092a..61543b4 100644
--- a/sys/powerpc/include/trap.h
+++ b/sys/powerpc/include/trap.h
@@ -6,7 +6,3 @@
#include <machine/trap_booke.h>
#endif
-#ifndef LOCORE
-struct trapframe;
-void trap(struct trapframe *);
-#endif
diff --git a/sys/powerpc/include/trap_aim.h b/sys/powerpc/include/trap_aim.h
index afb77db..eb7322c 100644
--- a/sys/powerpc/include/trap_aim.h
+++ b/sys/powerpc/include/trap_aim.h
@@ -119,4 +119,9 @@
#define EXC_PGM_PRIV (1UL << 18)
#define EXC_PGM_TRAP (1UL << 17)
+#ifndef LOCORE
+struct trapframe;
+void trap(struct trapframe *);
+#endif
+
#endif /* _POWERPC_TRAP_H_ */
diff --git a/sys/powerpc/include/trap_booke.h b/sys/powerpc/include/trap_booke.h
index b6dbc64..b19fc33 100644
--- a/sys/powerpc/include/trap_booke.h
+++ b/sys/powerpc/include/trap_booke.h
@@ -52,4 +52,9 @@
#define EXC_LAST 255
+#ifndef LOCORE
+struct trapframe;
+void trap(struct trapframe *);
+#endif
+
#endif /* _POWERPC_TRAP_H_ */
OpenPOWER on IntegriCloud