lkml.org 
[lkml]   [2010]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3 4/5] msm: hotplug: support cpu hotplug on msm
From
On 13 December 2010 01:20,  <ykaoua@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
\
 
 \ /
  Last update: 2010-12-13 16:39    [W:0.100 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site