powerpc
authorAlastair McKinstry <mckinstry@debian.org>
Thu, 3 May 2018 03:49:34 +0000 (04:49 +0100)
committerAlastair McKinstry <mckinstry@debian.org>
Thu, 3 May 2018 03:49:34 +0000 (04:49 +0100)
Gbp-Pq: Name powerpc.patch

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

index 060331ef95e8eafcb59110d94d1eaec47cbfeaa0..0a7895c868a32bdb42442a325a643692d8ca48ca 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__ ("lwsync" : : : "memory")