summaryrefslogtreecommitdiffstats
path: root/sys/libkern/arm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libkern/arm')
-rw-r--r--sys/libkern/arm/aeabi_unwind.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/libkern/arm/aeabi_unwind.c b/sys/libkern/arm/aeabi_unwind.c
index 098e6e6..efaf58d 100644
--- a/sys/libkern/arm/aeabi_unwind.c
+++ b/sys/libkern/arm/aeabi_unwind.c
@@ -29,7 +29,11 @@
__FBSDID("$FreeBSD$");
#include <sys/types.h>
+#ifdef _KERNEL
#include <sys/systm.h>
+#else
+#define panic(x) (void)0
+#endif
#ifdef __ARM_EABI__
/* We need to provide these functions never call them */
OpenPOWER on IntegriCloud