From: Viresh Kumar Date: Thu, 3 Oct 2013 15:56:50 +0000 (+0530) Subject: cpuidle: call cpuidle_get_driver() from after taking cpuidle_driver_lock X-Git-Tag: v3.13-rc1~96^2~5^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d09d3125642ac1f02937e577819dbc515291d93;p=pandora-kernel.git cpuidle: call cpuidle_get_driver() from after taking cpuidle_driver_lock There are a few cpuidle_get_driver() calls that aren't made under cpuidle_driver_lock which is incorrect. Fix them by calling cpuidle_get_driver() after taking cpuidle_driver_lock. Acked-by: Daniel Lezcano Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed