Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35fff4fd authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpufreq: schedutil: fix undefined reference to '__aeabi_uldivmod'"

parents 9d31379e b89646bf
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -153,7 +153,9 @@ static void sugov_track_cycles(struct sugov_policy *sg_policy,

	/* Track cycles in current window */
	delta_ns = upto - sg_policy->last_cyc_update_time;
	cycles = (prev_freq * delta_ns) / (NSEC_PER_SEC / KHZ);
	delta_ns *= prev_freq;
	do_div(delta_ns, (NSEC_PER_SEC / KHZ));
	cycles = delta_ns;
	sg_policy->curr_cycles += cycles;
	sg_policy->last_cyc_update_time = upto;
}