summaryrefslogtreecommitdiff
path: root/includes/stg
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2019-03-20 16:02:44 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-20 20:41:35 -0400
commit3423664b80ce3c8f5fa3104f3b0a1bcd0e539a02 (patch)
tree3b7c60a87dc26e00d6b68a4a14c39abb05cb12a5 /includes/stg
parent1382d09efadc900f7242c2e23482a9970eaf4f9b (diff)
downloadhaskell-3423664b80ce3c8f5fa3104f3b0a1bcd0e539a02.tar.gz
Fix specification of load_load_barrier [skip-ci]
Diffstat (limited to 'includes/stg')
-rw-r--r--includes/stg/SMP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/stg/SMP.h b/includes/stg/SMP.h
index 4020aef0d9..229115e725 100644
--- a/includes/stg/SMP.h
+++ b/includes/stg/SMP.h
@@ -82,7 +82,7 @@ EXTERN_INLINE void busy_wait_nop(void);
* Various kinds of memory barrier.
* write_barrier: prevents future stores occurring before prededing stores.
* store_load_barrier: prevents future loads occurring before preceding stores.
- * load_load_barrier: prevents future loads occurring before earlier stores.
+ * load_load_barrier: prevents future loads occurring before earlier loads.
*
* Reference for these: "The JSR-133 Cookbook for Compiler Writers"
* http://gee.cs.oswego.edu/dl/jmm/cookbook.html