Skip to content
Commit 343d8fc2 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

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: default avatarThomas 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>
parent 2b2d0285
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment