projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c83d2d1
)
comment wibbles
author
Simon Marlow
<marlowsd@gmail.com>
Wed, 11 Feb 2009 15:28:44 +0000
(15:28 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 11 Feb 2009 15:28:44 +0000
(15:28 +0000)
includes/SMP.h
patch
|
blob
|
history
diff --git
a/includes/SMP.h
b/includes/SMP.h
index
223f158
..
2cc3fb2
100644
(file)
--- 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
#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;
__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
#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;
__asm__ __volatile__ ("" : : : "memory");
#elif !defined(WITHSMP)
return;