Re: 2.6.21-rc2-mm1 - build error with HOTPLUG_CPU=N, CPU_IDLE=Y

Valdis.Kletnieks
2007-03-02T15:43:03Z

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

On Fri, 02 Mar 2007 03:00:26 PST, Andrew Morton said:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc2/2.6.21-rc2-mm1/

> git-acpi.patch

Build dies if your config has CONFIG_HOTPLUG_CPU=N but CPU_IDLE=Y

CC drivers/cpuidle/cpuidle.o
drivers/cpuidle/cpuidle.c: In function ‘cpuidle_init’:
drivers/cpuidle/cpuidle.c:272: error: ‘cpuidle_cpu_notifier’ undeclared (first use in this function)
drivers/cpuidle/cpuidle.c:272: error: (Each undeclared identifier is reported only once
drivers/cpuidle/cpuidle.c:272: error: for each function it appears in.)
make[2]: *** [drivers/cpuidle/cpuidle.o] Error 1

Not sure if we're missing some Kconfig 'depends on' magic, or a missing
pair of #ifdef/#endif, or what...

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]