From: Viresh Kumar Date: Tue, 13 Jan 2015 06:04:00 +0000 (+0530) Subject: cpufreq: stats: get rid of per-cpu cpufreq_stats_table X-Git-Tag: fixes-v4.0-rc1~160^2~1^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9aaf2915ee265735c28b764551d084e61a694e0;p=pandora-kernel.git 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 Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed