[Top] [All Lists]

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

To: Paul Burton <>
Subject: [PATCH] cpuidle/mips: remove redundant cpuidle_idle_call()
From: Nicolas Pitre <>
Date: Mon, 17 Feb 2014 11:09:45 -0500 (EST)
Cc: "Rafael J. Wysocki" <>, Daniel Lezcano <>,,
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
User-agent: Alpine 2.11 (LFD 23 2013-08-11)
The core idle loop now takes care of it.

Signed-off-by: Nicolas Pitre <>

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();

<Prev in Thread] Current Thread [Next in Thread>