Message ID | 1390802904-28399-8-git-send-email-nicolas.pitre@linaro.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
On 01/27/2014 07:08 AM, Nicolas Pitre wrote: > The core idle loop now takes care of it. > > Signed-off-by: Nicolas Pitre <nico@linaro.org> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> > --- > arch/sh/kernel/idle.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c > index 2ea4483fd7..be616ee0cf 100644 > --- a/arch/sh/kernel/idle.c > +++ b/arch/sh/kernel/idle.c > @@ -16,7 +16,6 @@ > #include <linux/thread_info.h> > #include <linux/irqflags.h> > #include <linux/smp.h> > -#include <linux/cpuidle.h> > #include <linux/atomic.h> > #include <asm/pgalloc.h> > #include <asm/smp.h> > @@ -40,8 +39,7 @@ void arch_cpu_idle_dead(void) > > void arch_cpu_idle(void) > { > - if (cpuidle_idle_call()) > - sh_idle(); > + sh_idle(); > } > > void __init select_idle_routine(void) >
diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c index 2ea4483fd7..be616ee0cf 100644 --- a/arch/sh/kernel/idle.c +++ b/arch/sh/kernel/idle.c @@ -16,7 +16,6 @@ #include <linux/thread_info.h> #include <linux/irqflags.h> #include <linux/smp.h> -#include <linux/cpuidle.h> #include <linux/atomic.h> #include <asm/pgalloc.h> #include <asm/smp.h> @@ -40,8 +39,7 @@ void arch_cpu_idle_dead(void) void arch_cpu_idle(void) { - if (cpuidle_idle_call()) - sh_idle(); + sh_idle(); } void __init select_idle_routine(void)
The core idle loop now takes care of it. Signed-off-by: Nicolas Pitre <nico@linaro.org> --- arch/sh/kernel/idle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)