diff --git a/arch/arm/atomic.h b/arch/arm/atomic.h index 52103542..738f528c 100644 --- a/arch/arm/atomic.h +++ b/arch/arm/atomic.h @@ -103,7 +103,7 @@ static inline void a_store(volatile int *p, int x) static inline void a_spin() { - __k_cas(&(int){0}, 0, 0)); + __k_cas(0, 0, &(int){0}); } static inline void a_crash()