From: Srivatsa S. Bhat Date: Mon, 29 Jul 2013 22:54:36 +0000 (+0530) Subject: cpufreq: Extract the handover of policy cpu to a helper function X-Git-Tag: v3.12-rc1~178^2~4^2~1^2~15^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9ba680d23ea7e2fc31b4b7106a482d90ec62a24;p=pandora-kernel.git cpufreq: Extract the handover of policy cpu to a helper function During cpu offline, when the policy->cpu is going down, some other CPU present in the policy->cpus mask is nominated as the new policy->cpu. Extract this functionality from __cpufreq_remove_dev() and implement it in a helper function. This helps in upcoming code reorganization. Signed-off-by: Srivatsa S. Bhat Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed