diff options
Diffstat (limited to 'sysdeps/i386/i486/bits/atomic.h')
-rw-r--r-- | sysdeps/i386/i486/bits/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/i486/bits/atomic.h b/sysdeps/i386/i486/bits/atomic.h index aff8cd9f2a..cb2fcdb0cc 100644 --- a/sysdeps/i386/i486/bits/atomic.h +++ b/sysdeps/i386/i486/bits/atomic.h @@ -117,7 +117,7 @@ typedef uintmax_t uatomic_max_t; /* Note that we need no lock prefix. */ -#define atomic_exchange(mem, newvalue) \ +#define atomic_exchange_acq(mem, newvalue) \ ({ __typeof (*mem) result; \ if (sizeof (*mem) == 1) \ __asm __volatile ("xchgb %b0, %1" \ |