From: Daniel Lezcano Date: Mon, 3 Mar 2014 07:48:53 +0000 (+0100) Subject: sched/idle: Move idle conditions in cpuidle_idle main function X-Git-Tag: v3.15-rc1~116^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ca3c6424f4988fc19ed1067b121fbaf2e884d77;p=pandora-kernel.git sched/idle: Move idle conditions in cpuidle_idle main function This patch moves the condition before entering idle into the cpuidle main function located in idle.c. That simplify the idle mainloop functions and increase the readibility of the conditions to enter truly idle. This patch is code reorganization and does not change the behavior of the function. Signed-off-by: Daniel Lezcano Signed-off-by: Peter Zijlstra Cc: tglx@linutronix.de Cc: rjw@rjwysocki.net Cc: nicolas.pitre@linaro.org Cc: preeti@linux.vnet.ibm.com Link: http://lkml.kernel.org/r/1393832934-11625-4-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed