Skip to content
Snippets Groups Projects
Commit f82f3f94 authored by Roman Zippel's avatar Roman Zippel Committed by Sam Ravnborg
Browse files

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: default avatarRoman Zippel <zippel@linux-m68k.org>
Tested-by: default avatarHugh Dickins <hugh@veritas.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 2f81eccb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment