about summary refs log tree commit diff
path: root/arch/arm/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/atomic.h')
-rw-r--r--arch/arm/atomic.h2
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()