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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux