[PATCH v3 4/5] msm: hotplug: support cpu hotplug on msm
Catalin Marinas
catalin.marinas at arm.com
Mon Dec 13 10:12:15 EST 2010
On 13 December 2010 01:20, <ykaoua at qualcomm.com> wrote:
> --- /dev/null
> +++ b/arch/arm/mach-msm/hotplug.c
[...]
> +static inline void platform_do_lowpower(unsigned int cpu)
> +{
> + /* Just enter wfe for now. */
> + for (;;) {
> + asm("wfe");
> + if (pen_release == cpu) {
> + /*
> + * OK, proper wakeup, we're done
> + */
> + break;
> + }
> + smp_rmb();
Do you need some barrier after wfe?
--
Catalin
More information about the linux-arm-kernel
mailing list