summaryrefslogtreecommitdiffstats
path: root/include/linux/cpufreq.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-11-27 06:07:50 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-11-29 23:38:38 +0100
commitd3a10c14755a5929eaf43cea760bc307ee7e96bc (patch)
treea7978e3a04d8384370ee55c1aa2d0fc0cf51dc88 /include/linux/cpufreq.h
parent90452e61137a3e88aa705d3efcb3874f3ce8d390 (diff)
downloadblackbird-op-linux-d3a10c14755a5929eaf43cea760bc307ee7e96bc.tar.gz
blackbird-op-linux-d3a10c14755a5929eaf43cea760bc307ee7e96bc.zip
cpufreq-dt: pass 'policy->related_cpus' to of_cpufreq_cooling_register()
The second parameter of of_cpufreq_cooling_register() should be the CPUs to which the frequency constraint will apply. As the cpufreq-dt driver now supports platforms with multiple 'struct cpufreq_policy' instances (i.e. > 1 clock domains for CPUs), passing 'cpu_present_mask' isn't correct anymore. As every policy will have a set of CPUs and that may not be equal to 'cpu_present_mask' always. So, pass only mask of CPUs which are controlled by current policy. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Eduardo Valentin <edubezval@gmail.com> Tested-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/cpufreq.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud