1 diff -Nurd boost_1_36_0.orig/boost/detail/atomic_count_sync.hpp boost_1_36_0.arm/boost/detail/atomic_count_sync.hpp
2 --- boost_1_36_0.orig/boost/detail/atomic_count_sync.hpp 2007-11-23 12:03:14.000000000 -0500
3 +++ boost_1_36_0.arm/boost/detail/atomic_count_sync.hpp 2008-09-09 13:15:21.000000000 -0400
8 +#if defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_6J__)
10 + asm volatile ("1: \n\t"
12 + "add %0 ,%0, #1 \n\t"
13 + "strex %2, %0, %1 \n\t"
16 + : "=&r" (v1), "+Q"(value_), "=&r"(tmp)
19 __sync_add_and_fetch( &value_, 1 );
25 +#if defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_6J__)
27 + asm volatile ("1: \n\t"
29 + "sub %0 ,%0, #1 \n\t"
30 + "strex %2, %0, %1 \n\t"
33 + : "=&r" (v1), "+Q"(value_), "=&r"(tmp)
37 return __sync_add_and_fetch( &value_, -1 );
43 +#if defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_6J__)
46 return __sync_fetch_and_add( &value_, 0 );
51 Binary files boost_1_36_0.orig/boost/detail/.atomic_count_sync.hpp.swp and boost_1_36_0.arm/boost/detail/.atomic_count_sync.hpp.swp differ