summaryrefslogtreecommitdiffstats
path: root/sys/arm/include
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-18 16:17:13 +0000
committerian <ian@FreeBSD.org>2014-05-18 16:17:13 +0000
commit8f8f979e4b4f105be1a895cffa28543139db5b7d (patch)
tree6ac62d0ee4157e159641e47e43b56350fe70315b /sys/arm/include
parent3799a70c01c78b64aee4ff66ab349aa986bcfcc8 (diff)
downloadFreeBSD-src-8f8f979e4b4f105be1a895cffa28543139db5b7d.zip
FreeBSD-src-8f8f979e4b4f105be1a895cffa28543139db5b7d.tar.gz
MFC 257189:
Fix an itt instruction. We need to execute both the mov and b instructions when building for Thumb.
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/include/atomic.h b/sys/arm/include/atomic.h
index f07fcef..02be1bd 100644
--- a/sys/arm/include/atomic.h
+++ b/sys/arm/include/atomic.h
@@ -198,7 +198,7 @@ atomic_cmpset_32(volatile u_int32_t *p, volatile u_int32_t cmpval, volatile u_in
__asm __volatile("1: ldrex %0, [%1]\n"
"cmp %0, %2\n"
- "it ne\n"
+ "itt ne\n"
"movne %0, #0\n"
"bne 2f\n"
"strex %0, %3, [%1]\n"
OpenPOWER on IntegriCloud