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

Skip to content
Commit a399e3fa authored by Nicolas Pitre's avatar Nicolas Pitre
Browse files

[ARM] orion: make sure sched_clock() usage of cnt32_to_63() is safe



With a TCLK = 200MHz, the half period of the hardware timer is roughly
10 seconds. Because cnt32_to_63() must be called at least once per
half period of the base hardware counter, it is a bit risky to rely
solely on scheduling to generate frequent enough calls. Let's use a
kernel timer to ensure this.

Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
parent 8a3269fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment