From 22f4ab2d200f605441cdd2b49ec9c97d43eb11c9 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Mon, 26 Sep 2022 16:58:08 +0100 Subject: 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 --- assert/assert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assert') 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); -- cgit 1.4.1