old_index = stat->last_index;
new_index = freq_table_get_index(stat, freq->new);
old_index = stat->last_index;
new_index = freq_table_get_index(stat, freq->new);
unregister_hotcpu_notifier(&cpufreq_stat_cpu_notifier);
for_each_online_cpu(cpu) {
cpufreq_stats_free_table(cpu);
unregister_hotcpu_notifier(&cpufreq_stat_cpu_notifier);
for_each_online_cpu(cpu) {
cpufreq_stats_free_table(cpu);