@@ -208,7 +208,7 @@ static inline int64_t opal_atomic_fetch_sub_64(opal_atomic_int64_t *v, int64_t i
208
208
return ret ;
209
209
}
210
210
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 )
212
212
{
213
213
return opal_atomic_sub_fetch_64 (v , i ) - i ;
214
214
}
@@ -231,7 +231,7 @@ static inline int64_t opal_atomic_fetch_sub_64(opal_atomic_int64_t *v, int64_t i
231
231
do { \
232
232
oldval = *addr; \
233
233
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)); \
235
235
\
236
236
return newval; \
237
237
}
@@ -244,7 +244,7 @@ OPAL_ATOMIC_DEFINE_OP(int64_t, 64, &, and)
244
244
OPAL_ATOMIC_DEFINE_OP (int64_t , 64 , |, or )
245
245
OPAL_ATOMIC_DEFINE_OP (int64_t , 64 , ^, xor )
246
246
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"
249
249
250
250
#endif /* ! OPAL_SYS_ARCH_ATOMIC_H */
0 commit comments