public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpuidle/mips: remove redundant cpuidle_idle_call()
@ 2014-02-17 16:09 Nicolas Pitre
  2014-02-21 21:44 ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Pitre @ 2014-02-17 16:09 UTC (permalink / raw)
  To: Paul Burton; +Cc: Rafael J. Wysocki, Daniel Lezcano, linux-pm, linux-mips


The core idle loop now takes care of it.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
---

I noticed commit c0b5d598aefda in linux-next adds a call to 
cpuidle_idle_call().  At the same time we're rationalizing the idle 
handling code in order to integrate it with the scheduler proper.  
Please note that a similar patch to the one below will be necessary once 
everything gets merged together.

diff --git a/arch/mips/kernel/idle.c b/arch/mips/kernel/idle.c
index 4b1554b3f5..2d753de5dc 100644
--- a/arch/mips/kernel/idle.c
+++ b/arch/mips/kernel/idle.c
@@ -253,8 +253,7 @@ static void mips_cpu_idle(void)
 
 void arch_cpu_idle(void)
 {
-	if (cpuidle_idle_call())
-		mips_cpu_idle();
+	mips_cpu_idle();
 }
 
 #ifdef CONFIG_CPU_IDLE

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-21 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-17 16:09 [PATCH] cpuidle/mips: remove redundant cpuidle_idle_call() Nicolas Pitre
2014-02-21 21:44 ` Ralf Baechle
2014-02-21 22:27   ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox