[PATCH] ux500: add CPU hotplug support

Catalin Marinas catalin.marinas at arm.com
Mon Sep 13 07:26:15 EDT 2010


On Mon, 2010-09-13 at 12:06 +0100, Russell King - ARM Linux wrote:
> On Mon, Sep 13, 2010 at 04:31:38PM +0530, Sundar Iyer wrote:
> > diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c
> > index 438ef16..ade2e17 100644
> > --- a/arch/arm/mach-ux500/platsmp.c
> > +++ b/arch/arm/mach-ux500/platsmp.c
> > @@ -26,7 +26,7 @@
> >   * control for which core is the next to come out of the secondary
> >   * boot "holding pen"
> >   */
> > -volatile int __cpuinitdata pen_release = -1;
> > +volatile int pen_release = -1;
> 
> This looks like an unnecessary change.

I think it avoids a build warning about mismatched sections but that's
probably the wrong way to fix. We get similar warnings on Versatile
Express and RealView when hotplug is enabled but I haven't had the time
to investigate properly.

-- 
Catalin




More information about the linux-arm-kernel mailing list