ep93xx timer: Fix possible overflow in usecs_to_ticks()
authorMatthias Kaehlcke <matthias@kaehlcke.net>
Tue, 9 Mar 2010 21:13:20 +0000 (22:13 +0100)
committertrix <trix@windriver.com>
Mon, 22 Mar 2010 16:58:28 +0000 (11:58 -0500)
commit7e67fb5bf27a07d3b8d6b97c76f7195f7d68af58
tree21ba319c816d0bba02f6a6ea1fb85c34cdd181ea
parentdaa989b47297c9f73426783599c286ef3a1f3f49
ep93xx timer: Fix possible overflow in usecs_to_ticks()

ep93xx timer: Use 64-bit values in usecs_to_ticks() in order to avoid
overflows in intermediate values

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
cpu/arm920t/ep93xx/timer.c