summaryrefslogtreecommitdiffstats
path: root/kernel/test_kprobes.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-07-16 23:04:58 +0200
committerJohn Stultz <john.stultz@linaro.org>2014-07-24 00:01:47 +0200
commit02cba1598a2a3b689e79ad6dad2532521f638271 (patch)
treec63b4bded9f6c6194d1c13947c8c30611e9f2b30 /kernel/test_kprobes.c
parenttimekeeping: Use ktime_get_boottime() for get_monotonic_boottime() (diff)
downloadlinux-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