diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-08-20 08:38:25 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-20 15:43:50 +0200 |
commit | 474deff744c4012f07cfa994947d7c6260c9ab89 (patch) | |
tree | cd848f28a6b476080364cd6c808644a652e8b77e /sound | |
parent | cpufreq: remove unnecessary check in __cpufreq_governor() (diff) | |
download | linux-474deff744c4012f07cfa994947d7c6260c9ab89.tar.xz linux-474deff744c4012f07cfa994947d7c6260c9ab89.zip |
cpufreq: remove cpufreq_policy_cpu per-cpu variable
cpufreq_policy_cpu per-cpu variables are used for storing the ID of
the CPU that manages the given CPU's policy. However, we also store
a policy pointer for each cpu in cpufreq_cpu_data, so the
cpufreq_policy_cpu information is simply redundant.
It is better to use cpufreq_cpu_data to retrieve a policy and get
policy->cpu from there, so make that happen everywhere and drop the
cpufreq_policy_cpu per-cpu variables which aren't necessary any more.
[rjw: Changelog]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions