On 31 January 2013 15:14, Fabio Baltieri fabio.baltieri@linaro.org wrote:
Implement a generic helper function policy_is_shared() to replace the current dbs_sw_coordinated_cpus() at cpufreq level, so that it can be used by code other than cpufreq governors.
Suggested-by: Viresh Kumar viresh.kumar@linaro.org Signed-off-by: Fabio Baltieri fabio.baltieri@linaro.org
Changes from v1:
- replaced cpumask_weight in acpi-cpufreq.c and cpufreq_stats.c, through the actual check is different the semantic should be the same.
Acked-by: Viresh Kumar viresh.kumar@linaro.org