diff options
Diffstat (limited to 'libc/sysdeps/linux/arm')
-rw-r--r-- | libc/sysdeps/linux/arm/bits/atomicity.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/arm/bits/atomicity.h b/libc/sysdeps/linux/arm/bits/atomicity.h index 1a437a6d3..def974f8a 100644 --- a/libc/sysdeps/linux/arm/bits/atomicity.h +++ b/libc/sysdeps/linux/arm/bits/atomicity.h @@ -24,7 +24,7 @@ static inline int -__attribute__ ((unused)) +__attribute_used__ exchange_and_add (volatile uint32_t *mem, int val) { int tmp1; @@ -44,7 +44,7 @@ exchange_and_add (volatile uint32_t *mem, int val) } static inline void -__attribute__ ((unused)) +__attribute_used__ atomic_add (volatile uint32_t *mem, int val) { int tmp1; @@ -63,7 +63,7 @@ atomic_add (volatile uint32_t *mem, int val) } static inline int -__attribute__ ((unused)) +__attribute_used__ compare_and_swap (volatile long int *p, long int oldval, long int newval) { int result, tmp; |