diff options
author | Nicolas Pitre <nico@cam.org> | 2009-05-15 00:42:36 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2009-06-08 13:04:54 -0400 |
commit | a399e3fa795afa058e4485b25c498e0c5a860428 (patch) | |
tree | ce58f69f27ff8dc3b188f7e66dff9c19910d3646 /lib/string.c | |
parent | 8a3269fc21cc4405d80b362139c078cf655a505a (diff) |
[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: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions