File tree 1 file changed +4
-5
lines changed
opal/include/opal/sys/gcc_builtin 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 13
13
* Copyright (c) 2011 Sandia National Laboratories. All rights reserved.
14
14
* Copyright (c) 2014-2018 Los Alamos National Security, LLC. All rights
15
15
* reserved.
16
- * Copyright (c) 2016-2017 Research Organization for Information Science
17
- * and Technology (RIST). All rights reserved.
16
+ * Copyright (c) 2016-2021 Research Organization for Information Science
17
+ * and Technology (RIST). All rights reserved.
18
18
* Copyright (c) 2018 Triad National Security, LLC. All rights
19
19
* reserved.
20
20
* $COPYRIGHT$
@@ -61,9 +61,8 @@ static inline void opal_atomic_rmb(void)
61
61
{
62
62
#if OPAL_ASSEMBLY_ARCH == OPAL_X86_64
63
63
/* work around a bug in older gcc versions where ACQUIRE seems to get
64
- * treated as a no-op instead of being equivalent to
65
- * __asm__ __volatile__("": : :"memory") */
66
- __atomic_thread_fence (__ATOMIC_SEQ_CST );
64
+ * treated as a no-op instead */
65
+ __asm__ __volatile__("" : : :"memory" );
67
66
#else
68
67
__atomic_thread_fence (__ATOMIC_ACQUIRE );
69
68
#endif
You can’t perform that action at this time.
0 commit comments