@@ -208,7 +208,7 @@ static inline int64_t opal_atomic_fetch_sub_64(opal_atomic_int64_t *v, int64_t i
208208 return ret ;
209209}
210210
211- static inline int64_t opal_atomic_fetch_sub_64 (opal_atomic_int64_t * v , int64_t i )
211+ static inline int64_t opal_atomic_sub_fetch_64 (opal_atomic_int64_t * v , int64_t i )
212212{
213213 return opal_atomic_sub_fetch_64 (v , i ) - i ;
214214}
@@ -231,7 +231,7 @@ static inline int64_t opal_atomic_fetch_sub_64(opal_atomic_int64_t *v, int64_t i
231231 do { \
232232 oldval = *addr; \
233233 newval = oldval operation value; \
234- } while (!opal_atomic_compare_exchange_strong_##bits(addr, &oldval, newval); \
234+ } while (!opal_atomic_compare_exchange_strong_##bits(addr, &oldval, newval)); \
235235 \
236236 return newval; \
237237 }
@@ -244,7 +244,7 @@ OPAL_ATOMIC_DEFINE_OP(int64_t, 64, &, and)
244244OPAL_ATOMIC_DEFINE_OP (int64_t , 64 , |, or )
245245OPAL_ATOMIC_DEFINE_OP (int64_t , 64 , ^, xor )
246246
247- #include "opal/sys/atomic_math_minmax_impl .h"
248- #include "opal/sys/atomic_math_size_t_impl .h"
247+ #include "opal/sys/atomic_impl_minmax_math .h"
248+ #include "opal/sys/atomic_impl_size_t_math .h"
249249
250250#endif /* ! OPAL_SYS_ARCH_ATOMIC_H */
0 commit comments