commit | a9aaf2915ee265735c28b764551d084e61a694e0 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue Jan 13 11:34:00 2015 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Jan 23 23:06:44 2015 +0100 |
tree | 68706030add04688b679a9ab0fa7c46afd945ec5 | |
parent | 2aba0c1bae564a59fc38c407abf7985f9e347cc4 [diff] |
cpufreq: stats: get rid of per-cpu cpufreq_stats_table All CPUs sharing a cpufreq policy share stats too. For this reason, add a stats pointer to struct cpufreq_policy and drop per-CPU variable cpufreq_stats_table used for accessing cpufreq stats so as to reduce code complexity. Reviewed-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>