summaryrefslogtreecommitdiffstats
path: root/sys/arm/include/asm.h
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2007-10-13 12:04:10 +0000
committercognet <cognet@FreeBSD.org>2007-10-13 12:04:10 +0000
commit66c3bb340b8ce8bad8144a0a30ab1f539c915b7e (patch)
treeeb74b44b6db5e18f1304060affa860551f41bfac /sys/arm/include/asm.h
parent73606ae49251815e7b718e5aeea75826d0b9ac1a (diff)
downloadFreeBSD-src-66c3bb340b8ce8bad8144a0a30ab1f539c915b7e.zip
FreeBSD-src-66c3bb340b8ce8bad8144a0a30ab1f539c915b7e.tar.gz
Define _ARM_ARCH_5E too, so that we know if pld/strd/ldrd are available.
MFC After: 3 days
Diffstat (limited to 'sys/arm/include/asm.h')
-rw-r--r--sys/arm/include/asm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arm/include/asm.h b/sys/arm/include/asm.h
index 347a78e..00f8265 100644
--- a/sys/arm/include/asm.h
+++ b/sys/arm/include/asm.h
@@ -137,10 +137,15 @@
#if defined (_ARM_ARCH_6) || defined (__ARM_ARCH_5__) || \
defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5TE__) || \
- defined (__ARM_ARCH_5TEJ__)
+ defined (__ARM_ARCH_5TEJ__) || defined (__ARM_ARCH_5E__)
#define _ARM_ARCH_5
#endif
+#if defined (_ARM_ARCH_6) || defined(__ARM_ARCH_5TE__) || \
+ defined(__ARM_ARCH_5TEJ__) || defined(__ARM_ARCH_5E__)
+#define _ARM_ARCH_5E
+#endif
+
#if defined (_ARM_ARCH_5) || defined (__ARM_ARCH_4T__)
#define _ARM_ARCH_4T
#endif
OpenPOWER on IntegriCloud