[commit: ghc] wip/smp-h-comment: Fix specification of load_load_barrier [skip-ci] (bd97234)

git at git.haskell.org git at git.haskell.org
Wed Mar 20 15:27:42 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/smp-h-comment
Link       : http://ghc.haskell.org/trac/ghc/changeset/bd97234fbf154496c050d2016926b3346b06bb11/ghc

>---------------------------------------------------------------

commit bd97234fbf154496c050d2016926b3346b06bb11
Author: Peter Trommler <ptrommler at acm.org>
Date:   Wed Mar 20 16:02:44 2019 +0100

    Fix specification of load_load_barrier [skip-ci]


>---------------------------------------------------------------

bd97234fbf154496c050d2016926b3346b06bb11
 includes/stg/SMP.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/stg/SMP.h b/includes/stg/SMP.h
index 4020aef..229115e72 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



More information about the ghc-commits mailing list