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

Skip to content
Commit ddb8ca47 authored by Puja Gupta's avatar Puja Gupta
Browse files

sched: Fix possible overflow in cpu_cycles_to_freq()



Truncating period to u32 could lead to incorrect results. Make it u64
instead.

Change-Id: I5224a943e64bc6d64b6c8e614a01f798a6cdc796
Signed-off-by: default avatarPuja Gupta <pujag@codeaurora.org>
parent 87b21110
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment