-
Lennert Buytenhek authored
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>
af9dafb1