From: Daniel Lezcano Date: Mon, 3 Mar 2014 07:48:52 +0000 (+0100) Subject: sched/idle: Reorganize the idle loop X-Git-Tag: v3.15-rc1~116^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8cc7d4de7a4f2fb1f8774ec2de5b49c46c42e64;p=pandora-kernel.git sched/idle: Reorganize the idle loop Now that we have the main cpuidle function in idle.c, move some code from the idle mainloop to this function for the sake of clarity. That removes if then else indentation difficult to follow when looking at the code. This patch does not change the current behavior. Signed-off-by: Daniel Lezcano Acked-by: Nicolas Pitre Signed-off-by: Peter Zijlstra Cc: tglx@linutronix.de Cc: rjw@rjwysocki.net Cc: preeti@linux.vnet.ibm.com Link: http://lkml.kernel.org/r/1393832934-11625-3-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed