ck_brlock: Fix typo.

ck_pring
Samy Al Bahra 12 years ago
parent b631e3aa23
commit 957e4aec5d

@ -193,7 +193,7 @@ ck_brlock_read_lock(struct ck_brlock *br, struct ck_brlock_reader *reader)
/* Serialize counter update with respect to writer snapshot. */ /* Serialize counter update with respect to writer snapshot. */
ck_pr_fence_memory(); ck_pr_fence_memory();
#else #else
ck_pr_store_uint(&readers->n_readers, 1); ck_pr_store_uint(&reader->n_readers, 1);
/* Loads can be re-ordered before previous stores, even on TSO. */ /* Loads can be re-ordered before previous stores, even on TSO. */
ck_pr_fence_strict_memory(); ck_pr_fence_strict_memory();

Loading…
Cancel
Save