Re: [-mm patch] cpu_idle: fix build break

Frederik Deweerdt
2007-03-02T16:26:29Z

On Fri, Mar 02, 2007 at 07:24:28AM -0800, Venkatesh Pallipadi wrote:
> On Fri, Mar 02, 2007 at 02:40:07PM +0000, Frederik Deweerdt wrote:
> > On Fri, Mar 02, 2007 at 03:00:26AM -0800, Andrew Morton wrote:
> > > +git-acpi-fix-cpuidle-borkage.patch
> > This attached patch might be needed too, the build breaks if
> > !CONFIG_HOTPLUG_CPU and CONFIG_CPU_IDLE
> >
> > CC drivers/cpuidle/cpuidle.o
> > drivers/cpuidle/cpuidle.c: In function 'cpuidle_init':
> > drivers/cpuidle/cpuidle.c:272: erreur: 'cpuidle_cpu_notifier' undeclared (first use in this function)
> > drivers/cpuidle/cpuidle.c:272: erreur: (Each undeclared identifier is reported only once
> > drivers/cpuidle/cpuidle.c:272: erreur: for each function it appears in.)
> > make[2]: *** [drivers/cpuidle/cpuidle.o] Erreur 1
> > make[1]: *** [drivers/cpuidle] Erreur 2
> > make: *** [drivers] Erreur 2
> >
>
> Thanks for catching this breakage. Patch below should be the proper fix.
Yep, works for me.

Regards,
Frederik