Date: Sun, 18 May 2014 16:17:13 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r266408 - stable/10/sys/arm/include Message-ID: <201405181617.s4IGHDbl010311@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Sun May 18 16:17:13 2014 New Revision: 266408 URL: http://svnweb.freebsd.org/changeset/base/266408 Log: MFC 257189: Fix an itt instruction. We need to execute both the mov and b instructions when building for Thumb. Modified: stable/10/sys/arm/include/atomic.h Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/arm/include/atomic.h ============================================================================== --- stable/10/sys/arm/include/atomic.h Sun May 18 16:08:11 2014 (r266407) +++ stable/10/sys/arm/include/atomic.h Sun May 18 16:17:13 2014 (r266408) @@ -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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405181617.s4IGHDbl010311>