svn commit: r257189 - head/sys/arm/include

Andrew Turner andrew at FreeBSD.org
Sat Oct 26 19:09:56 UTC 2013


Author: andrew
Date: Sat Oct 26 19:09:56 2013
New Revision: 257189
URL: http://svnweb.freebsd.org/changeset/base/257189

Log:
  Fix an itt instruction. We need to execute both the mov and b instructions
  when building for Thumb.

Modified:
  head/sys/arm/include/atomic.h

Modified: head/sys/arm/include/atomic.h
==============================================================================
--- head/sys/arm/include/atomic.h	Sat Oct 26 19:04:43 2013	(r257188)
+++ head/sys/arm/include/atomic.h	Sat Oct 26 19:09:56 2013	(r257189)
@@ -198,7 +198,7 @@ atomic_cmpset_32(volatile u_int32_t *p, 
 	
 	__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"


More information about the svn-src-all mailing list