|
@@ -1156,7 +1156,7 @@ static int powernowk8_cpu_init(struct cpufreq_policy *pol)
|
|
|
pr_debug("policy current frequency %d kHz\n", pol->cur);
|
|
|
|
|
|
/* min/max the cpu is capable of */
|
|
|
- if (cpufreq_frequency_table_cpuinfo(pol, data->powernow_table)) {
|
|
|
+ if (cpufreq_table_validate_and_show(pol, data->powernow_table)) {
|
|
|
printk(KERN_ERR FW_BUG PFX "invalid powernow_table\n");
|
|
|
powernow_k8_cpu_exit_acpi(data);
|
|
|
kfree(data->powernow_table);
|
|
@@ -1164,8 +1164,6 @@ static int powernowk8_cpu_init(struct cpufreq_policy *pol)
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
- cpufreq_frequency_table_get_attr(data->powernow_table, pol->cpu);
|
|
|
-
|
|
|
pr_debug("cpu_init done, current fid 0x%x, vid 0x%x\n",
|
|
|
data->currfid, data->currvid);
|
|
|
|