lkml.org 
[lkml]   [2008]   [Feb]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 27 Feb 2008 03:59:45 +0100 (CET)
FromRoman Zippel <>
SubjectRe: Kconfig configuration restore bug [Was: x86: vSMP selection in config]
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


\
 
 \ /
  Last update: 2008-02-27 04:03    [from the cache]
©2003-2008