We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0ac1e commit 2487ed9Copy full SHA for 2487ed9
opal/include/opal/sys/arm64/atomic_llsc.h
@@ -25,6 +25,11 @@
25
26
#if !defined(OPAL_SYS_ARCH_ATOMIC_LLSC_H)
27
28
+#if defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__) || defined(__ibmxl__)
29
+/* Silence -Wlanguage-extension-token */
30
+#define typeof __typeof__
31
+#endif
32
+
33
#define OPAL_SYS_ARCH_ATOMIC_LLSC_H
34
35
#if OPAL_C_GCC_INLINE_ASSEMBLY
opal/include/opal/sys/powerpc/atomic.h
@@ -111,6 +111,9 @@ void opal_atomic_isync(void)
111
/* work-around bizzare xlc bug in which it sign-extends
112
a pointer to a 32-bit signed integer */
113
#define OPAL_ASM_ADDR(a) ((uintptr_t)a)
114
115
116
117
#else
118
#define OPAL_ASM_ADDR(a) (a)
119
#endif
0 commit comments