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

Pavel Machek pavel at ucw.cz
Thu Sep 30 15:52:37 EDT 2010


Hi!

> > > > 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.

If arch_msm has no SMP, then why is change needed?

(I was trying to warn you that you'll need HOTPLUG support to get SMP
suspend support.)
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



More information about the linux-arm-kernel mailing list