summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/trap_booke.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2012-03-29 02:02:14 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2012-03-29 02:02:14 +0000
commitdc06a3cb59f5873dd81976e04661066e4412ca54 (patch)
tree0927b7ba34798805412e69d612965f326117428b /sys/powerpc/include/trap_booke.h
parent84886cd55f1c2109f1d05d832cbcbff2b34b9745 (diff)
downloadFreeBSD-src-dc06a3cb59f5873dd81976e04661066e4412ca54.zip
FreeBSD-src-dc06a3cb59f5873dd81976e04661066e4412ca54.tar.gz
Allow multiple inclusion of trap.h. This has always been broken, but
until recently never caused problems.
Diffstat (limited to 'sys/powerpc/include/trap_booke.h')
-rw-r--r--sys/powerpc/include/trap_booke.h5
1 files changed, 5 insertions, 0 deletions
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