powerpc
authorAlastair McKinstry <mckinstry@debian.org>
Sat, 17 Dec 2016 14:17:24 +0000 (14:17 +0000)
committerAlastair McKinstry <mckinstry@debian.org>
Sat, 17 Dec 2016 14:17:24 +0000 (14:17 +0000)
Gbp-Pq: Name powerpc.patch

opal/include/opal/sys/powerpc/atomic.h

index d8f5aa18aef2193164a7a0fe9ff888df202c5191..b683406de105e483dce8a15812c4594a5241e29e 100644 (file)
  * On powerpc ...
  */
 
+/* Hack on Debian. See: https://github.com/open-mpi/ompi/issues/2055
+ *   -- amck, 2016-09-05
+ */
+#undef OPAL_GCC_INLINE_ASSEMBLY
+#define OPAL_GCC_INLINE_ASSEMBLY 1
+
+
 #define MB()  __asm__ __volatile__ ("sync" : : : "memory")
 #define RMB() __asm__ __volatile__ ("lwsync" : : : "memory")
 #define WMB() __asm__ __volatile__ ("eieio" : : : "memory")