Re: Kconfig configuration restore bug [Was: x86: vSMP selection inconfig]

From: Roman Zippel
Date: Tue Feb 26 2008 - 22:00:50 EST


Hi,

On Tue, 26 Feb 2008, Sam Ravnborg wrote:

> choice
> prompt "Subarchitecture Type"
>
> config X86_PC
> bool "PC-compatible"
>
> config X86_VOYAGER
> bool "Voyager (NCR)"
>
> config X86_VSMP
> bool "Support for ScaleMP vSMP"
> depends on PCI
>
> endchoice
>
> config PCI
> bool "PCI support" if !X86_VISWS
> depends on !X86_VOYAGER
> default y

The basic problem is that this is a recursive dependency - PCI depends on
the choice and the choice depends on PCI. IMO X86_VSMP cannot depend on
PCI.
I'm looking into why this hasn't been picked up by the dependency check...

bye, Roman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/