powerpc
authorAlastair McKinstry <mckinstry@debian.org>
Mon, 5 Feb 2018 09:06:53 +0000 (09:06 +0000)
committerAlastair McKinstry <mckinstry@debian.org>
Mon, 5 Feb 2018 09:06:53 +0000 (09:06 +0000)
Gbp-Pq: Name powerpc.patch

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

index 639101d2ec02c7ce3497b8e4dbf7a51e1b35eb1c..189f0728c8f08ee3651181967b0d19d2ca0386c8 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")