summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-22 17:49:20 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-23 06:34:19 +0200
commit046283740467adea07cea8678ce6cee9ca655293 (patch)
tree1f2cb70ac845b2ba2e8e12383628739a1f91d7ea
parent5f29d17bee39be3c2c6216ae678a4ba593587521 (diff)
downloadrtems-libbsd-046283740467adea07cea8678ce6cee9ca655293.tar.bz2
ck: Use default implementation < ARMv6
-rw-r--r--freebsd/sys/contrib/ck/include/ck_pr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/sys/contrib/ck/include/ck_pr.h b/freebsd/sys/contrib/ck/include/ck_pr.h
index 2a8c5398..d2b53a5c 100644
--- a/freebsd/sys/contrib/ck/include/ck_pr.h
+++ b/freebsd/sys/contrib/ck/include/ck_pr.h
@@ -51,7 +51,9 @@
#if __ARM_ARCH >= 6
#include "gcc/arm/ck_pr.h"
#else
+#ifndef __rtems__
#include "gcc/arm/ck_pr_armv4.h"
+#endif /* __rtems__ */
#endif
#elif defined(__aarch64__)
#include "gcc/aarch64/ck_pr.h"