From: Simon Marlow Date: Wed, 11 Feb 2009 15:28:44 +0000 (+0000) Subject: comment wibbles X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=ff074624e44467e87687b7c96d42cb8a7e047914 comment wibbles --- diff --git a/includes/SMP.h b/includes/SMP.h index 223f158..2cc3fb2 100644 --- a/includes/SMP.h +++ b/includes/SMP.h @@ -197,7 +197,7 @@ store_load_barrier(void) { #elif powerpc_HOST_ARCH __asm__ __volatile__ ("sync" : : : "memory"); #elif sparc_HOST_ARCH - /* Sparc in TSO mode does not require write/write barriers. */ + /* Sparc in TSO mode does not require store/load barriers. */ __asm__ __volatile__ ("membar" : : : "memory"); #elif !defined(WITHSMP) return; @@ -215,7 +215,7 @@ load_load_barrier(void) { #elif powerpc_HOST_ARCH __asm__ __volatile__ ("lwsync" : : : "memory"); #elif sparc_HOST_ARCH - /* Sparc in TSO mode does not require write/write barriers. */ + /* Sparc in TSO mode does not require load/load barriers. */ __asm__ __volatile__ ("" : : : "memory"); #elif !defined(WITHSMP) return;