From: Roman Zippel Date: Thu, 30 Aug 2007 03:06:17 +0000 (+0200) Subject: kconfig: oldconfig shall not set symbols if it does not need to X-Git-Tag: v2.6.23-rc6~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f82f3f9422d4da1eeec6f6cf3e64c6c34c4fe19b;p=pandora-kernel.git kconfig: oldconfig shall not set symbols if it does not need to Avoid setting the value if the symbol doesn't need to be changed or can't be changed. Later choices may change the dependencies and thus the possible input range. make oldconfig from a 2.6.22 .config with CONFIG_HOTPLUG_CPU not set was in some configurations setting CONFIG_HOTPLUG_CPU=y without asking, even when there was no actual requirement for CONFIG_HOTPLUG_CPU. This was triggered by SUSPEND_SMP that does a select HOTPLUG_CPU. Signed-off-by: Roman Zippel Tested-by: Hugh Dickins Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed