Re: [rfc] fix Kconfig, hotplug_cpu is needed for swsusp

From: Roman Zippel
Date: Thu Mar 30 2006 - 05:09:24 EST


Hi,

On Thu, 30 Mar 2006, Sam Ravnborg wrote:

> Roman is the one to addrress this.
> Roman?
>
> On Thu, Mar 30, 2006 at 01:01:37PM +1000, Nigel Cunningham wrote:
> > Hi Sam.
> >
> > A bunch of us were discussing an issue this morning, and came across the
> > problem that selects don't seem to be enforced in choice menus. To give a
> > concrete example, a couple of us tried to make CONFIG_SOFTWARE_SUSPEND select
> > CONFIG_X86_GENERICARCH. After enabling SOFTWARE_SUSPEND, we want back to the
> > subarchitecture menu, and could still select other subarches. Is this by
> > design?

Yes, kconfig is supposed to be deterministic. Imagine two options each
select a choice option, which would create an inconsistent configuration,
so it's not allowed in first place.

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/