• F
    nohz: Fix old dynticks idle Kconfig backward compatibility · 0644ca5c
    Frederic Weisbecker 提交于
    In order to enforce backward compatibility with older
    config files, we want the new dynticks-idle Kconfig entry
    to default its value to the one of the old CONFIG_NO_HZ symbol
    if present.
    
    Namely we want:
    
    	config NO_HZ # old obsolete dynticks idle symbol
    		bool
    
    	config NO_HZ_IDLE # new dynticks idle symbol
    		default NO_HZ
    
    However Kconfig prevents this to work if the old symbol
    is not visible. And this is currently the case because
    NO_HZ lacks a title in order to show it in make oldconfig
    and alike.
    
    To fix this, bring a minimal title and help text to the
    obsolete Kconfig entry that explains its purpose. This
    makes the "defaulting" to work.
    Reported-by: NIngo Molnar <mingo@kernel.org>
    Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Chris Metcalf <cmetcalf@tilera.com>
    Cc: Christoph Lameter <cl@linux.com>
    Cc: Geoff Levand <geoff@infradead.org>
    Cc: Gilad Ben Yossef <gilad@benyossef.com>
    Cc: Hakan Akkan <hakanakkan@gmail.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Kevin Hilman <khilman@linaro.org>
    Cc: Li Zhong <zhong@linux.vnet.ibm.com>
    Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    0644ca5c
Kconfig 3.7 KB