diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-16 23:04:58 +0200 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-24 00:01:47 +0200 |
commit | 02cba1598a2a3b689e79ad6dad2532521f638271 (patch) | |
tree | c63b4bded9f6c6194d1c13947c8c30611e9f2b30 /kernel/test_kprobes.c | |
parent | timekeeping: Use ktime_get_boottime() for get_monotonic_boottime() (diff) | |
download | linux-02cba1598a2a3b689e79ad6dad2532521f638271.tar.xz linux-02cba1598a2a3b689e79ad6dad2532521f638271.zip |
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>
Diffstat (limited to 'kernel/test_kprobes.c')
0 files changed, 0 insertions, 0 deletions