diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arm/include/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/include/atomic.h b/sys/arm/include/atomic.h index efb348d..5bd2040 100644 --- a/sys/arm/include/atomic.h +++ b/sys/arm/include/atomic.h @@ -79,7 +79,7 @@ __swp(uint32_t val, volatile uint32_t *ptr) { __asm __volatile("swp %0, %2, [%3]" : "=&r" (val), "=m" (*ptr) - : "r" (val) , "r" (ptr), "m" (*ptr) + : "r" (val), "r" (ptr), "m" (*ptr) : "memory"); return (val); } |