projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
centralize definition of BITS_PER_LONG
[urcu.git]
/
urcu-qsbr.c
diff --git
a/urcu-qsbr.c
b/urcu-qsbr.c
index 155505abc7843385fafef29de57509ceb096519c..84789f2ebfdd4fa89def6fb56274595739a51d02 100644
(file)
--- a/
urcu-qsbr.c
+++ b/
urcu-qsbr.c
@@
-113,7
+113,7
@@
static void update_counter_and_wait(void)
struct rcu_reader *index, *tmp;
#if (BITS_PER_LONG < 64)
struct rcu_reader *index, *tmp;
#if (BITS_PER_LONG < 64)
- /* Switch parity:
1 -> 0, 0 -> 1
*/
+ /* Switch parity:
0 -> 1, 1 -> 0
*/
STORE_SHARED(rcu_gp_ctr, rcu_gp_ctr ^ RCU_GP_CTR);
#else /* !(BITS_PER_LONG < 64) */
/* Increment current G.P. */
STORE_SHARED(rcu_gp_ctr, rcu_gp_ctr ^ RCU_GP_CTR);
#else /* !(BITS_PER_LONG < 64) */
/* Increment current G.P. */
This page took
0.023247 seconds
and
4
git commands to generate.