commit | 343d8fc208e43e50525ae6e0fc4845b9966b7318 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Tue Jun 13 23:29:14 2017 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Wed Jun 14 00:00:46 2017 +0200 |
tree | 23538f3c6d280e2f67af57218b035963755f34f8 | |
parent | 2b2d02856b3176701c91d723356f766d6ee27853 [diff] |
posix-cpu-timers: Avoid timespec conversion in do_cpu_nanosleep() No point in converting the expiry time back and forth. No point either to update the value in the caller supplied variable. mark the rqtp argument const. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: John Stultz <john.stultz@linaro.org> Cc: Peter Zijlstra <peterz@infradead.org>