diff --git a/include/ck_bytelock.h b/include/ck_bytelock.h index c1c3374..ea6a138 100644 --- a/include/ck_bytelock.h +++ b/include/ck_bytelock.h @@ -148,7 +148,7 @@ ck_bytelock_read_lock(struct ck_bytelock *bytelock, unsigned int slot) slot -= 1; for (;;) { ck_pr_store_8(&bytelock->readers[slot], true); - ck_pr_fence_strict_store(); + ck_pr_fence_strict_memory(); /* * If there is no owner at this point, our slot has