rcu: Fix full dynticks' dependency on wide RCU nocb mode
authorFrederic Weisbecker <[email protected]>
Thu, 2 May 2013 23:28:12 +0000 (01:28 +0200)
committerFrederic Weisbecker <[email protected]>
Sat, 4 May 2013 06:30:34 +0000 (08:30 +0200)
commit73c30828771acafb0a5e3a1c4cf75e6c5dc5f98a
tree08cfdcede966b63ff30ccaf6490535c7cc24a441
parentc032862fba51a3ca504752d3a25186b324c5ce83
rcu: Fix full dynticks' dependency on wide RCU nocb mode

Commit 0637e029392386e6996f5d6574aadccee8315efa
("nohz: Select wide RCU nocb for full dynticks") intended
to force CONFIG_RCU_NOCB_CPU_ALL=y when full dynticks is
enabled.

However this option is part of a choice menu and Kconfig's
"select" instruction has no effect on such targets.

Fix this by using reverse dependencies on the targets we
don't want instead.

Reviewed-by: Paul E. McKenney <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Hakan Akkan <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Li Zhong <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
init/Kconfig
kernel/time/Kconfig