From: Paul E. McKenney Date: Tue, 21 Mar 2017 17:35:57 +0000 (-0700) Subject: srcu: Allow a second bit in rcu_seq for SRCU state X-Git-Tag: MMI-PSA29.97-13-9~5623^2~5^2^3~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f1ec57a462314f3d1cd0c9c8a04979228aa9d38c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git srcu: Allow a second bit in rcu_seq for SRCU state This commit increases the number of reserved bits at the bottom of an rcu_seq grace-period counter from one to two, as will be needed to accommodate SRCU's three-state grace periods. Signed-off-by: Paul E. McKenney --- diff --git a/kernel/rcu/rcu.h b/kernel/rcu/rcu.h index c62df93bfc1b..87a0ac95b551 100644 --- a/kernel/rcu/rcu.h +++ b/kernel/rcu/rcu.h @@ -61,7 +61,7 @@ * Grace-period counter management. */ -#define RCU_SEQ_CTR_SHIFT 1 +#define RCU_SEQ_CTR_SHIFT 2 #define RCU_SEQ_STATE_MASK ((1 << RCU_SEQ_CTR_SHIFT) - 1) /*