Boost logo

Boost-Commit :

From: pdimov_at_[hidden]
Date: 2008-04-09 19:19:22


Author: pdimov
Date: 2008-04-09 19:19:22 EDT (Wed, 09 Apr 2008)
New Revision: 44140
URL: http://svn.boost.org/trac/boost/changeset/44140

Log:
ARM assembly fix.
Text files modified:
   trunk/boost/detail/spinlock_gcc_arm.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/detail/spinlock_gcc_arm.hpp
==============================================================================
--- trunk/boost/detail/spinlock_gcc_arm.hpp (original)
+++ trunk/boost/detail/spinlock_gcc_arm.hpp 2008-04-09 19:19:22 EDT (Wed, 09 Apr 2008)
@@ -31,7 +31,7 @@
 
         __asm__ __volatile__(
             "swp %0, %1, [%2]":
- "=r"( r ): // outputs
+ "=&r"( r ): // outputs
             "r"( 1 ), "r"( &v_ ): // inputs
             "memory", "cc" );
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk