Re: CONFIG_HOTPLUG_CPU: kconfig bug?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Hugh Dickins <hugh@...>
Cc: Roman Zippel <zippel@...>, <linux-kernel@...>, <kbuild-devel@...>
Date: Wednesday, August 29, 2007 - 2:01 pm

> > > I've noticed an oddity with CONFIG_HOTPLUG_CPU in 2.6.23-rc:

I have tried to track down what is happening here.
The culprint is:

config SUSPEND_SMP
	bool
	depends on SUSPEND_SMP_POSSIBLE && PM_SLEEP
	select HOTPLUG_CPU
	default y


It seems that due to the fact that SUSPEND_SMP is default y
then kconfig enforce the "select HOTPLUG_CPU".

And this happens despite the fact that PM_SLEEP is 'n'
(but SUSPEND_SMP_POSSIBLE is 'y').

It is somewhere in sym_calc_value() or one of the childs that
suddenly causes the change.
But I find it hard to follow this part of the logic in kconfig.

Roman - can you help here with what is going on?

	Sam
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
CONFIG_HOTPLUG_CPU: kconfig bug?, Hugh Dickins, (Mon Aug 27, 10:54 am)
Re: CONFIG_HOTPLUG_CPU: kconfig bug?, Sam Ravnborg, (Mon Aug 27, 1:26 pm)
Re: CONFIG_HOTPLUG_CPU: kconfig bug?, Hugh Dickins, (Mon Aug 27, 4:49 pm)
Re: CONFIG_HOTPLUG_CPU: kconfig bug?, Sam Ravnborg, (Wed Aug 29, 2:01 pm)
Re: CONFIG_HOTPLUG_CPU: kconfig bug?, Roman Zippel, (Wed Aug 29, 11:06 pm)
Re: CONFIG_HOTPLUG_CPU: kconfig bug?, Hugh Dickins, (Thu Aug 30, 8:40 am)
Re: CONFIG_HOTPLUG_CPU: kconfig bug?, Rafael J. Wysocki, (Thu Aug 30, 2:48 pm)
Re: CONFIG_HOTPLUG_CPU: kconfig bug?, Hugh Dickins, (Thu Aug 30, 5:06 pm)