On Sun, Jul 21, 2019 at 04:36:00AM +0200, Klemens Nanni wrote:
> Simply omit conversions from timevals to hz and use the proper API.
>
> First one is trivial, the second one truncates the converted number of
> ticks to at leat one, which timeout_add_*(9) does automatically, so stop
> doing it
Simply omit conversions from timevals to hz and use the proper API.
First one is trivial, the second one truncates the converted number of
ticks to at leat one, which timeout_add_*(9) does automatically, so stop
doing it manually.
Tested by running it on my X230.
OK?
Index: kern_time.c