commit | 02cba1598a2a3b689e79ad6dad2532521f638271 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed Jul 16 21:04:58 2014 +0000 |
committer | John Stultz <john.stultz@linaro.org> | Wed Jul 23 15:01:47 2014 -0700 |
tree | c63b4bded9f6c6194d1c13947c8c30611e9f2b30 | |
parent | 48f18fd6addc199f330d838d54fe7b0a0892adaa [diff] |
timekeeping: Simplify getboottime() Subtracting plain nsec values and converting to timespec is simpler than the whole timespec math. Not really fastpath code, so the division is not an issue. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>