From: Colin Cross Date: Tue, 8 May 2012 00:57:39 +0000 (-0700) Subject: cpuidle: refactor out cpuidle_enter_state X-Git-Tag: v3.6-rc1~82^2^5~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56cfbf74a17c40f3a741398103c9f5d5a6806715;p=pandora-kernel.git cpuidle: refactor out cpuidle_enter_state Split the code to enter a state and update the stats into a helper function, cpuidle_enter_state, and export it. This function will be called by the coupled state code to handle entering the safe state and the final coupled state. Reviewed-by: Santosh Shilimkar Tested-by: Santosh Shilimkar Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman Signed-off-by: Colin Cross Reviewed-by: Rafael J. Wysocki Signed-off-by: Len Brown --- Reading git-diff-tree failed