[PATCH] cpuidle/mips: remove redundant cpuidle_idle_call()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The core idle loop now takes care of it.

Signed-off-by: Nicolas Pitre <nico@xxxxxxxxxx>
---

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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux