linux/scripts/kconfig
Al Viro ce97e13e52 fix allmodconfig breakage
If you use KCONFIG_ALLCONFIG (even with empty file) you get broken
allmodconfig/allyesconfig; CONFIG_MODULES gets turned off, with obvious
massive fallout.

Breakage had been introduced when conf_set_all_new_symbols() got used
for allmodconfig et.al.

What happens is that sym_calc_value(modules_sym) done in
conf_read_simple() sets SYMBOL_VALID on both modules_sym and MODULES.
When we get to conf_set_all_new_symbols(), we set sym->def[S_DEF_USER]
on everything, but it has no effect on sym->curr for the symbols that
already have SYMBOL_VALID - these are stuck.

Solution: use sym_clear_all_valid() in there.  Note that it makes
reevaluation of modules_sym redundant - sym_clear_all_valid() will do
that itself.

[ Fixes http://bugzilla.kernel.org/show_bug.cgi?id=11512, says Alexey ]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-26 09:35:05 -07:00
..
lxdialog kconfig: made check-lxdialog more portable 2008-05-01 19:29:47 +02:00
.gitignore [PATCH] .gitignore: add miscellaneous files 2006-11-13 07:40:42 -08:00
Makefile x86, um: get rid of arch/um/Kconfig.arch 2008-10-22 22:55:23 -07:00
POTFILES.in kconfig: gettext support for lxdialog 2008-01-28 23:14:39 +01:00
check.sh kbuild: check if we can link gettext not just compile 2007-10-12 21:13:50 +02:00
conf.c kconfig: fix silentoldconfig 2008-09-29 08:03:01 -07:00
confdata.c fix allmodconfig breakage 2008-10-26 09:35:05 -07:00
expr.c kconfig: tristate choices with mixed tristate and boolean values 2008-01-28 23:21:18 +01:00
expr.h kconfig: environment symbol support 2008-01-28 23:14:39 +01:00
gconf.c kconfig: gconfig: symbol fix 2008-01-28 23:14:39 +01:00
gconf.glade [PATCH] kconfig: set gconf's save-widget's sensitivity according to .config's changed state 2006-12-13 09:05:48 -08:00
images.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kconfig_load.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kxgettext.c kconfig: attach help text to menus 2007-07-25 21:14:26 +02:00
lex.zconf.c_shipped kconfig: scripts/kconfig/zconf.l: add %option noinput 2008-07-30 22:29:50 +02:00
lkc.h kconfig: set all new symbols automatically 2008-07-25 22:12:48 +02:00
lkc_proto.h kconfig: add named choice group 2008-04-28 23:05:48 +02:00
mconf.c kconfig: fix MAC OS X warnings in menuconfig 2008-05-04 21:03:20 +02:00
menu.c kconfig: add named choice group 2008-04-28 23:05:48 +02:00
qconf.cc kconfig: environment symbol support 2008-01-28 23:14:39 +01:00
qconf.h kconfig/xconfig: sync main view with search dialog current menu 2007-05-02 20:58:08 +02:00
symbol.c kconfig: add named choice group 2008-04-28 23:05:48 +02:00
util.c kconfig: incorrect 'len' field initialisation ? 2008-05-19 20:14:49 +02:00
zconf.gperf kconfig: remove "enable" 2008-01-28 23:21:18 +01:00
zconf.hash.c_shipped kconfig: remove "enable" 2008-01-28 23:21:18 +01:00
zconf.l kconfig: scripts/kconfig/zconf.l: add %option noinput 2008-07-30 22:29:50 +02:00
zconf.tab.c_shipped kconfig: add named choice group 2008-04-28 23:05:48 +02:00
zconf.y kconfig: add named choice group 2008-04-28 23:05:48 +02:00