X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=includes%2FSMP.h;h=223f1581a3963c045b80ae1dc9f2ffe6bf8bb9e0;hp=c851054cd90d3f2adc685a7d02756a32f83f8fca;hb=c83d2d16d72825ea5ef9a1b3c7096fc9e19491b7;hpb=e3029b1d193614f53a4d132637269f568deb0d46 diff --git a/includes/SMP.h b/includes/SMP.h index c851054..223f158 100644 --- a/includes/SMP.h +++ b/includes/SMP.h @@ -195,7 +195,7 @@ store_load_barrier(void) { #elif x86_64_HOST_ARCH __asm__ __volatile__ ("lock; addq $0,0(%%rsp)" : : : "memory"); #elif powerpc_HOST_ARCH - __asm__ __volatile__ ("msync" : : : "memory"); + __asm__ __volatile__ ("sync" : : : "memory"); #elif sparc_HOST_ARCH /* Sparc in TSO mode does not require write/write barriers. */ __asm__ __volatile__ ("membar" : : : "memory");