Loading drivers/cpufreq/cpufreq_interactive.c +4 −1 Original line number Diff line number Diff line Loading @@ -480,7 +480,10 @@ static void __cpufreq_interactive_timer(unsigned long data, bool is_notif) cputime_speedadj = (u64)sl->prev_load * ppol->policy->cpuinfo.max_freq; do_div(cputime_speedadj, tunables->timer_rate); new_load_pct = sl->new_task_load * 100 / sl->prev_load; new_load_pct = 0; if (sl->prev_load) new_load_pct = sl->new_task_load * 100 / sl->prev_load; } else { now = update_load(i); delta_time = (unsigned int) Loading Loading
drivers/cpufreq/cpufreq_interactive.c +4 −1 Original line number Diff line number Diff line Loading @@ -480,7 +480,10 @@ static void __cpufreq_interactive_timer(unsigned long data, bool is_notif) cputime_speedadj = (u64)sl->prev_load * ppol->policy->cpuinfo.max_freq; do_div(cputime_speedadj, tunables->timer_rate); new_load_pct = sl->new_task_load * 100 / sl->prev_load; new_load_pct = 0; if (sl->prev_load) new_load_pct = sl->new_task_load * 100 / sl->prev_load; } else { now = update_load(i); delta_time = (unsigned int) Loading