Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
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