[PATCH 2/4] arm: dis-allow hotplug on MSM

Daniel Walker dwalker at codeaurora.org
Thu Sep 30 14:09:43 EDT 2010


On Thu, 2010-09-30 at 09:45 -0700, Daniel Walker wrote:
> On Thu, 2010-09-30 at 09:19 +0200, Pavel Machek wrote:
> > Hi!
> > 
> > > MSM doesn't support hotplug, so we prevent it from being
> > > select with this added line.
> > > 
> > > Signed-off-by: Daniel Walker <dwalker at codeaurora.org>
> > > ---
> > >  arch/arm/Kconfig |    1 +
> > >  1 files changed, 1 insertions(+), 0 deletions(-)
> > > 
> > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > > index d2dfbc2..829dd67 100644
> > > --- a/arch/arm/Kconfig
> > > +++ b/arch/arm/Kconfig
> > > @@ -1211,6 +1211,7 @@ config NR_CPUS
> > >  config HOTPLUG_CPU
> > >  	bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
> > >  	depends on SMP && HOTPLUG && EXPERIMENTAL
> > > +	depends on !ARCH_MSM
> > >  	help
> > >  	  Say Y here to experiment with turning CPUs off and on.  CPUs
> > >  	  can be controlled through /sys/devices/system/cpu.
> > 
> > This is goodbye to s2ram support, AFAICT.
> 
> This depends on SMP tho. It's like saying,
> 
> depends on 

That's weird, there was more to this email..

It's like saying,

depends on SMP && HOTPLUG && EXPERIMENTAL && !ARCH_MSM

But ARCH_MSM has no SMP, so the whole thing should short circuit right
at the start. It's only when you bring in SMP that it get interesting.

suspend to ram works on UP tho, so UP boards shouldn't be effected.

Daniel

-- 

Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.




More information about the linux-arm-kernel mailing list