summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2011-11-18 13:40:04 (GMT)
committerJonas Bonn <jonas@southpole.se>2012-02-17 09:08:19 (GMT)
commit754d5c2bf65847f7ff4e0047a830154abe666112 (patch)
tree31fa395b798aa8e2d0f4cf9f5d4b8f116ad21dd1 /kernel
parent17425275112960af0dc9882c06c343d3b6ec8dc9 (diff)
downloadlinux-fsl-qoriq-754d5c2bf65847f7ff4e0047a830154abe666112.tar.xz
openrisc: Set shortest clock event to 100 ticks
It takes a couple of instructions to actually configure a clock event so setting an alarm just 1 clock cycle in the future isn't going to work; doing so results in setting an alarm in the "past" in which case the event won't fire until the timer overflows and rolls back around to the "current time". Not quite sure how many clock cycles it actually takes to get through to actually writing the register, but 100 seems to work reliably. Use generic helper to set up the clock event while we're at it. Reported-by: Jan Schulte <jan.schulte@aacmicrotec.com> Signed-off-by: Jonas Bonn <jonas@southpole.se>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions