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

Commit d13739d9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: Fix possible overflow in cpu_cycles_to_freq()"

parents 17422da7 ddb8ca47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ static inline unsigned int max_task_load(void)
	return sched_ravg_window;
}

static inline u32 cpu_cycles_to_freq(u64 cycles, u32 period)
static inline u32 cpu_cycles_to_freq(u64 cycles, u64 period)
{
	return div64_u64(cycles, period);
}