diff --git a/sys/riscv/include/atomic.h b/sys/riscv/include/atomic.h index 33f3d5b05034..f82d0dd4fee6 100644 --- a/sys/riscv/include/atomic.h +++ b/sys/riscv/include/atomic.h @@ -512,6 +512,8 @@ atomic_store_rel_64(volatile uint64_t *p, uint64_t val) #define atomic_set_acq_ptr atomic_set_acq_64 #define atomic_subtract_acq_ptr atomic_subtract_acq_64 +#undef ATOMIC_ACQ_REL + static __inline void atomic_thread_fence_acq(void) {