From 05c1186acbc4d069eef865622bf8c5b2d4ad37c6 Mon Sep 17 00:00:00 2001 From: Alastair McKinstry Date: Wed, 23 May 2018 15:47:13 +0100 Subject: [PATCH] powerpc Gbp-Pq: Name powerpc.patch --- opal/include/opal/sys/powerpc/atomic.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/opal/include/opal/sys/powerpc/atomic.h b/opal/include/opal/sys/powerpc/atomic.h index 060331ef..0a7895c8 100644 --- a/opal/include/opal/sys/powerpc/atomic.h +++ b/opal/include/opal/sys/powerpc/atomic.h @@ -27,6 +27,13 @@ * 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") -- 2.30.2