From 38c40315a222e858797763a294064956948f5fe5 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Thu, 2 Jan 2014 09:20:54 -0500 Subject: [PATCH] ck_brlock: Use store barrier on initialization. --- include/ck_brlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ck_brlock.h b/include/ck_brlock.h index 70ceacb..842364e 100644 --- a/include/ck_brlock.h +++ b/include/ck_brlock.h @@ -67,7 +67,7 @@ ck_brlock_init(struct ck_brlock *br) br->readers = NULL; br->writer = false; - ck_pr_fence_memory(); + ck_pr_fence_store(); return; }