diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-04-20 18:27:54 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-05-27 12:59:05 -0700 |
commit | 8739c5cb0fb145aeed8c56ddb5ba79381c74cb97 (patch) | |
tree | fa743bb519e5366ab88fc1352a1c4c9a30377eeb /kernel/rcu/tree.c | |
parent | 78cae10b3a90438689f8cedb66241ce9cff9c214 (diff) | |
download | lwn-8739c5cb0fb145aeed8c56ddb5ba79381c74cb97.tar.gz lwn-8739c5cb0fb145aeed8c56ddb5ba79381c74cb97.zip |
rcu: Break dependency of RCU_FANOUT_LEAF on RCU_FANOUT
RCU_FANOUT_LEAF's range and default values depend on the value of
RCU_FANOUT, which at the time seemed like a cute way to save two lines
of Kconfig code. However, adding a dependency from both of these
Kconfig parameters on RCU_EXPERT requires that RCU_FANOUT_LEAF operate
correctly even if RCU_FANOUT is undefined. This commit therefore
allows RCU_FANOUT_LEAF to take on the full range of permitted values,
even in cases where RCU_FANOUT is undefined.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
[ paulmck: Eliminate redundant "default" as suggested by Pranith Kumar. ]
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Diffstat (limited to 'kernel/rcu/tree.c')
0 files changed, 0 insertions, 0 deletions