[atomic] Oops
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 1 Aug 2018 21:00:46 +0000 (14:00 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 1 Aug 2018 21:15:00 +0000 (14:15 -0700)
src/hb-atomic-private.hh

index bd28a56..3239193 100644 (file)
@@ -123,7 +123,7 @@ typedef int hb_atomic_int_impl_t;
 #include <mbarrier.h>
 
 #define _hb_memory_r_barrier()                 __machine_r_barrier ()
-#define _hb_memory_w_barrier()                 __machine_r_barrier ()
+#define _hb_memory_w_barrier()                 __machine_w_barrier ()
 #define _hb_memory_barrier()                   __machine_rw_barrier ()
 
 typedef unsigned int hb_atomic_int_impl_t;