powerpc
authorAlastair McKinstry <mckinstry@debian.org>
Mon, 12 Sep 2016 06:54:45 +0000 (06:54 +0000)
committerAlastair McKinstry <mckinstry@debian.org>
Mon, 12 Sep 2016 06:54:45 +0000 (06:54 +0000)
Gbp-Pq: Name powerpc.patch

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

index 610a0c248e6c246dca64c1b8d1d16989a7bbeb66..ff780f8816bd17e3e6a19c6fd957200b4a17a88d 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")