From b24a9af88ad8ed7ead365774b3e579acfbca318d Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Mon, 21 Apr 2014 12:49:44 -0400 Subject: [PATCH] ck_pflock: Migrate initializer to use compiler barrier. --- include/ck_pflock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ck_pflock.h b/include/ck_pflock.h index f87648a..dd026ac 100644 --- a/include/ck_pflock.h +++ b/include/ck_pflock.h @@ -62,7 +62,7 @@ ck_pflock_init(struct ck_pflock *pf) pf->rout = 0; pf->win = 0; pf->wout = 0; - ck_pr_fence_store(); + ck_pr_barrier(); return; }