summaryrefslogtreecommitdiff
path: root/boost/atomic/detail/ops_linux_arm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/atomic/detail/ops_linux_arm.hpp')
-rw-r--r--boost/atomic/detail/ops_linux_arm.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/boost/atomic/detail/ops_linux_arm.hpp b/boost/atomic/detail/ops_linux_arm.hpp
index 25167b1974..41713a35f5 100644
--- a/boost/atomic/detail/ops_linux_arm.hpp
+++ b/boost/atomic/detail/ops_linux_arm.hpp
@@ -87,6 +87,7 @@ struct linux_arm_cas :
public linux_arm_cas_base
{
typedef typename make_storage_type< 4u, Signed >::type storage_type;
+ typedef typename make_storage_type< 4u, Signed >::aligned aligned_storage_type;
static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order order) BOOST_NOEXCEPT
{
@@ -142,19 +143,19 @@ struct linux_arm_cas :
template< bool Signed >
struct operations< 1u, Signed > :
- public extending_cas_based_operations< cas_based_operations< linux_arm_cas< Signed > >, 1u, Signed >
+ public extending_cas_based_operations< cas_based_operations< cas_based_exchange< linux_arm_cas< Signed > > >, 1u, Signed >
{
};
template< bool Signed >
struct operations< 2u, Signed > :
- public extending_cas_based_operations< cas_based_operations< linux_arm_cas< Signed > >, 2u, Signed >
+ public extending_cas_based_operations< cas_based_operations< cas_based_exchange< linux_arm_cas< Signed > > >, 2u, Signed >
{
};
template< bool Signed >
struct operations< 4u, Signed > :
- public cas_based_operations< linux_arm_cas< Signed > >
+ public cas_based_operations< cas_based_exchange< linux_arm_cas< Signed > > >
{
};