summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/include/atomic.h2
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);
}
OpenPOWER on IntegriCloud