- if (cpu_load >= go_hispeed_load || boost_val) {
- if (pcpu->target_freq < hispeed_freq &&
- hispeed_freq < pcpu->policy->max) {
- new_freq = hispeed_freq;
- } else {
- new_freq = pcpu->policy->cur * cpu_load / target_load;
-
- if (new_freq < hispeed_freq)
- new_freq = hispeed_freq;
-
- if (pcpu->target_freq == hispeed_freq &&
- new_freq > hispeed_freq &&
- now - pcpu->hispeed_validate_time
- < above_hispeed_delay_val) {
- trace_cpufreq_interactive_notyet(
- data, cpu_load, pcpu->target_freq,
- pcpu->policy->cur, new_freq);
- goto rearm;
- }
- }
- } else {
+ if ((cpu_load >= go_hispeed_load || boost_val) &&
+ pcpu->target_freq < hispeed_freq)
+ new_freq = hispeed_freq;
+ else