[PATCH] Optional choice values get reset
commitbae79439f4bd0173e513a761b0719c87a6e0815d
authorRoman Zippel <zippel@linux-m68k.org>
Fri, 25 Jul 2003 08:50:07 +0000 (25 01:50 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 25 Jul 2003 08:50:07 +0000 (25 01:50 -0700)
tree5b4d13badf31a2a6258cdf8e4d1e34f9514c4bb0
parent669ee167037e98290e81d84da328e03600203dbc
[PATCH] Optional choice values get reset

Patch by Herbert Xu <herbert@gondor.apana.org.au>:

As of 2.5.74, make oldconfig always disables existing optional choices
even if they were selected previously.  For example, if all the EICON
ISDN drivers were selected as modules, then make oldconfig will turn
them off.

Part of the problem is that the choice value itself is computed before
the SYMBOL_NEW flag is turned off.  This patch addresses that particular
problem.
scripts/kconfig/confdata.c