diff options
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 fe88225b..50ad9478 100644 --- a/arch/arm/atomic.h +++ b/arch/arm/atomic.h @@ -37,7 +37,7 @@ static inline int __k_cas(int t, int s, volatile int *p) " beq 1b\n" " mcr p15,0,r0,c7,c10,5\n" : "=&r"(ret) - : "r"(t), "r"(s), "m"(*p) + : "r"(t), "r"(s), "Q"(*p) : "memory", "cc" ); return ret; } |