about summary refs log tree commit diff
path: root/sysdeps/or1k/nptl/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/or1k/nptl/tls.h')
-rw-r--r--sysdeps/or1k/nptl/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/or1k/nptl/tls.h b/sysdeps/or1k/nptl/tls.h
index c6ffe62c3f..e82f444738 100644
--- a/sysdeps/or1k/nptl/tls.h
+++ b/sysdeps/or1k/nptl/tls.h
@@ -164,7 +164,7 @@ register tcbhead_t *__thread_self __asm__("r10");
 #define THREAD_GSCOPE_RESET_FLAG()					\
   do									\
     {									\
-      int __res = atomic_exchange_rel (&THREAD_SELF->header.gscope_flag,\
+      int __res = 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,		\