From: Magnus Damm Date: Fri, 11 Nov 2011 05:01:30 +0000 (+0900) Subject: ARM: mach-shmobile: cpuidle single/global and last_state fixes X-Git-Tag: v3.2-rc2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b73b5c493ac001870bd9faf565a61908c82f52d8;p=pandora-kernel.git ARM: mach-shmobile: cpuidle single/global and last_state fixes The following commits break cpuidle on SH-Mobile ARM: 46bcfad cpuidle: Single/Global registration of idle states e978aa7 cpuidle: Move dev->last_residency update to driver enter routine; remove dev->last_state This patch remedies these issues by up-porting the SH-Mobile code to fit with the above introduced framework changes. It is worth noting that the new code becomes significantly cleaner, so these framework changes are very welcome. At the same time this breakage could probably have been avoided by grepping for "last_state" and "cpuidle_register_driver". Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed