ARM: mmp: Change the way we use timer 0 as clockevent timer.
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 9 Aug 2011 18:37:55 +0000 (02:37 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 11 Aug 2011 02:10:46 +0000 (10:10 +0800)
Instead of setting up a match interrupt for 'current_time + delta'
on ->set_next_event(), program timer 0 to count down from 'delta - 1'
and trigger an interrupt when it reaches zero.

Signed-off-by: Lennert Buytenhek <buytenh@laptop.org>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>

No differences found