From 0c4ed1d14f6e14987d15dcdf252fd9fa1b227160 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Thu, 2 Jan 2014 09:27:14 -0500 Subject: [PATCH] ck_pflock: Use store barrier on init. --- include/ck_pflock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ck_pflock.h b/include/ck_pflock.h index 42f673d..bcb27cb 100644 --- a/include/ck_pflock.h +++ b/include/ck_pflock.h @@ -62,7 +62,8 @@ ck_pflock_init(struct ck_pflock *pf) pf->rout = 0; pf->win = 0; pf->wout = 0; - ck_pr_fence_memory(); + ck_pr_fence_store(); + return; }