diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-08-25 16:37:13 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-08-25 16:37:13 -0400 |
commit | 8b3d7d0d35f97051bc994800c928a7db53316dd2 (patch) | |
tree | 15e3792f357f243ea51020116ed0df38a7b0fa3a /arch/arm/atomic.h | |
parent | b8a9c90e4fe29821f2ef40796c07c48bd8fac8cc (diff) | |
download | musl-8b3d7d0d35f97051bc994800c928a7db53316dd2.tar.gz |
fix build error on arm due to new a_spin code
this was broken by commit ea818ea8340c13742a4f41e6077f732291aea4bc.
Diffstat (limited to 'arch/arm/atomic.h')
-rw-r--r-- | arch/arm/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
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() |