diff --git a/src/third_party/wiredtiger/src/include/gcc.h b/src/third_party/wiredtiger/src/include/gcc.h index 01e3379..c709097 100644 --- a/src/third_party/wiredtiger/src/include/gcc.h +++ b/src/third_party/wiredtiger/src/include/gcc.h @@ -178,7 +178,7 @@ __wt_atomic_cas_ptr(void *vp, void *old, void *new) #elif defined(__PPC64__) || defined(PPC64) #define WT_PAUSE() __asm__ volatile("ori 0,0,0" ::: "memory") -#define WT_FULL_BARRIER() do { +#define WT_FULL_BARRIER() do { \ __asm__ volatile ("sync" ::: "memory"); \ } while (0) #define WT_READ_BARRIER() WT_FULL_BARRIER()