File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
opal/include/opal/sys/gcc_builtin Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1313 * Copyright (c) 2011 Sandia National Laboratories. All rights reserved.
1414 * Copyright (c) 2014-2018 Los Alamos National Security, LLC. All rights
1515 * 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.
1818 * Copyright (c) 2018 Triad National Security, LLC. All rights
1919 * reserved.
2020 * $COPYRIGHT$
@@ -61,9 +61,8 @@ static inline void opal_atomic_rmb(void)
6161{
6262#if OPAL_ASSEMBLY_ARCH == OPAL_X86_64
6363 /* 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" );
6766#else
6867 __atomic_thread_fence (__ATOMIC_ACQUIRE );
6968#endif
You can’t perform that action at this time.
0 commit comments