aboutsummaryrefslogtreecommitdiff
path: root/kernel/posix-cpu-timers.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2014-06-11 23:59:19 +0000
committerThomas Gleixner <[email protected]>2014-06-12 16:18:45 +0200
commit77f4fa089c724adc3a87c10eb031bca91b144ac0 (patch)
tree1e40795801937aeb9f69ec6a2458a1c1571b13f7 /kernel/posix-cpu-timers.c
parentf037c1171db79be2a047b1a5aafa2fd1f05051cb (diff)
tomoyo: Use sensible time interface
There is no point in calling gettimeofday if only the seconds part of the timespec is used. Use get_seconds() instead. It's not only the proper interface it's also faster. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Tetsuo Handa <[email protected]> Cc: John Stultz <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Kentaro Takeda <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions