mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
Pull bugzilla-7880 into release branch
This commit is contained in:
commit
22aadf8a07
@ -665,8 +665,8 @@ static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy)
|
|||||||
data->max_freq = perf->states[0].core_frequency * 1000;
|
data->max_freq = perf->states[0].core_frequency * 1000;
|
||||||
/* table init */
|
/* table init */
|
||||||
for (i=0; i<perf->state_count; i++) {
|
for (i=0; i<perf->state_count; i++) {
|
||||||
if (i>0 && perf->states[i].core_frequency ==
|
if (i>0 && perf->states[i].core_frequency >=
|
||||||
perf->states[i-1].core_frequency)
|
data->freq_table[valid_states-1].frequency / 1000)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
data->freq_table[valid_states].index = i;
|
data->freq_table[valid_states].index = i;
|
||||||
|
Loading…
Reference in New Issue
Block a user