Re: [PATCH -v8 01/11] CPU hotplug: Provide a generic helper todisable/enable CPU hotplug

From: Robin Holt
Date: Sat May 11 2013 - 00:16:34 EST


On Fri, May 10, 2013 at 10:03:24AM -0700, Andrew Morton wrote:
> On Fri, 10 May 2013 13:11:51 +0200 "Rafael J. Wysocki" <rjw@xxxxxxx> wrote:
>
> > ...
> >
> > > cpu_hotplug_disable() doesn't get compiled unless we've defined
> > > CONFIG_PM_SLEEP_SMP. I cannot begin to imagine what the logic is
> > > behind that!
> >
> > I suppose it was only used by suspend/hibernate code paths when this was
> > introduced.
>
> OK, well I suspect that what I have now is simply wrong for Robin's
> application. Robin, can you please check this? We probably want to
> make the does-something version of cpu_hotplug_disable/enable available
> if CONFIG_HOTPLUG_CPU.

This patch came from "Srivatsa S. Bhat" <srivatsa.bhat@xxxxxxxxxxxxxxxxxx>,
I think I need to defer.

I spent all day trying to get an alpha cross compiler to build an
unmodified kernel and modules, only to find I didn't need to go that
far and could reproduce the failure with just building vmlinux.

Sorry for my slow response,
Robin
--
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/