commit | 166afb64511eef08e13331b970c44fe91cea45ef | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed Jul 16 21:03:55 2014 +0000 |
committer | John Stultz <john.stultz@linaro.org> | Wed Jul 23 10:16:50 2014 -0700 |
tree | 0354ca4d028a51653d299709dd9a2c7d3d13289a | |
parent | 24e4a8c3e8868874835b0f1ad6dd417341e99822 [diff] |
ktime: Sanitize ktime_to_us/ms conversion With the plain nanoseconds based ktime_t we can simply use ktime_divns() instead of going through loops and hoops of timespec/timeval conversion. Reported-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>