diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2010-11-19 10:16:05 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-21 22:05:57 +0000 |
commit | 8fbb97a2bc9b8c91b5a4588ba80709e48dad3f16 (patch) | |
tree | 7843b6acb76bf1b0679c78fdf3d45402eea8e86f /Makefile | |
parent | 963fec4e0f4993486ee91edfafba0c972834d8c3 (diff) | |
download | op-kernel-dev-8fbb97a2bc9b8c91b5a4588ba80709e48dad3f16.zip op-kernel-dev-8fbb97a2bc9b8c91b5a4588ba80709e48dad3f16.tar.gz |
ARM: 6488/1: nomadik: prevent sched_clock() wraparound
The current implementation of sched_clock() for the Nomadik
family is based on the clock source that will wrap around without
any compensation. Currently on the Ux500 after 1030 seconds.
Utilize cnt32_to_63 to expand the sched_clock() counter to 63
bits and introduce a keepwarm() timer to assure that sched clock
and this cnt32_to_63 is called atleast once every half period.
When I print out the actual wrap-around time, and using
a year (3600*24*365 seconds) as minumum wrap limit I get an
actual wrap-around of:
sched_clock: using 55 bits @ 8333125 Hz wrap in 416 days
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions