]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
m68knommu: fix ColdFire timer off by 1
authorGreg Ungerer <gerg@snapgear.com>
Fri, 8 Jun 2007 20:46:39 +0000 (13:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 9 Jun 2007 00:23:32 +0000 (17:23 -0700)
commit4342f4ace2335d4fa9fe52b4cceca979413470b2
treebb535e947751c32311b266b638c6ae5302958d9b
parent4a0df2ef4569ac57cb18cd97e34c0c4733e829d9
m68knommu: fix ColdFire timer off by 1

The coldfire timer runs from 0 to TRR included, then 0 again and so on.  It
counts thus actually TRR + 1 steps for 1 tick, not TRR.  Fix that.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68knommu/platform/5307/timers.c