|
@@ -1184,6 +1184,9 @@ static int cpufreq_online(unsigned int cpu)
|
|
for_each_cpu(j, policy->related_cpus)
|
|
for_each_cpu(j, policy->related_cpus)
|
|
per_cpu(cpufreq_cpu_data, j) = policy;
|
|
per_cpu(cpufreq_cpu_data, j) = policy;
|
|
write_unlock_irqrestore(&cpufreq_driver_lock, flags);
|
|
write_unlock_irqrestore(&cpufreq_driver_lock, flags);
|
|
|
|
+ } else {
|
|
|
|
+ policy->min = policy->user_policy.min;
|
|
|
|
+ policy->max = policy->user_policy.max;
|
|
}
|
|
}
|
|
|
|
|
|
if (cpufreq_driver->get && !cpufreq_driver->setpolicy) {
|
|
if (cpufreq_driver->get && !cpufreq_driver->setpolicy) {
|