From a42dda0af44727466c07e2d7fb3cfbb649b51bf2 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 6 Jun 2015 01:40:01 +0300 Subject: [PATCH] Apply fix for errata 754327 for ARM Cortex-A9 suggested in ticket #11362 --- include/boost/smart_ptr/detail/spinlock_gcc_arm.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/smart_ptr/detail/spinlock_gcc_arm.hpp b/include/boost/smart_ptr/detail/spinlock_gcc_arm.hpp index 016796a..24d08a8 100644 --- a/include/boost/smart_ptr/detail/spinlock_gcc_arm.hpp +++ b/include/boost/smart_ptr/detail/spinlock_gcc_arm.hpp @@ -82,6 +82,7 @@ public: { __asm__ __volatile__( BOOST_SP_ARM_BARRIER ::: "memory" ); *const_cast< int volatile* >( &v_ ) = 0; + __asm__ __volatile__( BOOST_SP_ARM_BARRIER ::: "memory" ); } public: