diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2022-09-26 16:58:08 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2022-09-26 16:58:08 +0100 |
commit | 22f4ab2d200f605441cdd2b49ec9c97d43eb11c9 (patch) | |
tree | 900238f342a45d6c899cad578d58546336ffe5b9 /assert/assert.c | |
parent | c02e29a0ba47d636281e1a026444a1a0a254aa12 (diff) | |
download | glibc-22f4ab2d200f605441cdd2b49ec9c97d43eb11c9.tar.gz glibc-22f4ab2d200f605441cdd2b49ec9c97d43eb11c9.tar.xz glibc-22f4ab2d200f605441cdd2b49ec9c97d43eb11c9.zip |
Use atomic_exchange_release/acquire
Rename atomic_exchange_rel/acq to use atomic_exchange_release/acquire since these map to the standard C11 atomic builtins. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'assert/assert.c')
-rw-r--r-- | assert/assert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assert/assert.c b/assert/assert.c index 564ae28a2b..aa77e250b4 100644 --- a/assert/assert.c +++ b/assert/assert.c @@ -74,7 +74,7 @@ __assert_fail_base (const char *fmt, const char *assertion, const char *file, /* We have to free the old buffer since the application might catch the SIGABRT signal. */ - struct abort_msg_s *old = atomic_exchange_acq (&__abort_msg, buf); + struct abort_msg_s *old = atomic_exchange_acquire (&__abort_msg, buf); if (old != NULL) __munmap (old, old->size); |