On 27 May 2013 20:02, Sanjay Singh Rawat <sanjay.ra...@linaro.org> wrote: > use cpu_do_idle for entering the wfi mode. > > Signed-off-by: Sanjay Singh Rawat <sanjay.ra...@linaro.org> > --- > arch/arm/mach-spear/hotplug.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-spear/hotplug.c b/arch/arm/mach-spear/hotplug.c > index d97749c..6dbd3dc 100644 > --- a/arch/arm/mach-spear/hotplug.c > +++ b/arch/arm/mach-spear/hotplug.c > @@ -55,7 +55,8 @@ static inline void cpu_leave_lowpower(void) > static inline void spear13xx_do_lowpower(unsigned int cpu, int *spurious) > { > for (;;) { > - wfi(); > + /* enter WFI mode */ > + cpu_do_idle(); > > if (pen_release == cpu) {
Acked-by: Viresh Kumar <viresh.ku...@linaro.org> _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev