about summary refs log tree commit diff
path: root/sysdeps/m68k
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2022-09-26 16:58:08 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2022-09-26 16:58:08 +0100
commit22f4ab2d200f605441cdd2b49ec9c97d43eb11c9 (patch)
tree900238f342a45d6c899cad578d58546336ffe5b9 /sysdeps/m68k
parentc02e29a0ba47d636281e1a026444a1a0a254aa12 (diff)
downloadglibc-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 'sysdeps/m68k')
-rw-r--r--sysdeps/m68k/nptl/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/m68k/nptl/tls.h b/sysdeps/m68k/nptl/tls.h
index 30d58e36e9..742e1b6767 100644
--- a/sysdeps/m68k/nptl/tls.h
+++ b/sysdeps/m68k/nptl/tls.h
@@ -122,7 +122,7 @@ extern void * __m68k_read_tp (void);
 #define THREAD_GSCOPE_RESET_FLAG()					\
   do									\
     { int __res								\
-	= atomic_exchange_rel (&THREAD_SELF->header.gscope_flag,	\
+	= atomic_exchange_release (&THREAD_SELF->header.gscope_flag,	\
 			       THREAD_GSCOPE_FLAG_UNUSED);		\
       if (__res == THREAD_GSCOPE_FLAG_WAIT)				\
 	lll_futex_wake (&THREAD_SELF->header.gscope_flag, 1, LLL_PRIVATE); \