init/Kconfig: move RCU_NOCB_CPU dependencies to choice
authorStefan Hengelein <stefan.hengelein@fau.de>
Tue, 2 Sep 2014 17:55:11 +0000 (19:55 +0200)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 28 Oct 2014 20:49:27 +0000 (13:49 -0700)
commit4568779f7143f88fc5fbe7a8d619653e28f24ad1
tree5e9c24327073166018b4ae3c626980be37f1d347
parentd7e29933969e5ca7c112ce1368a07911f4485dc2
init/Kconfig: move RCU_NOCB_CPU dependencies to choice

Every choice item of the "Build-forced no-CBs CPUs" choice had a
dependency to RCU_NOCB_CPU.  It's more comprehensible if the choice
itself has the dependency instead of every choice item.  The choice
itself doesn't need to be visible if there are no items selectable
(i.e.  on arch/frv) or RCU_NOCB_CPU is not defined.

Signed-off-by: Stefan Hengelein <stefan.hengelein@fau.de>
Signed-off-by: Andreas Ruprecht <rupran@einserver.de>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
init/Kconfig