diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2017-06-07 09:42:28 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-06-14 00:00:40 +0200 |
commit | 192a82f9003fe8fabd6088aa646e829225a94c55 (patch) | |
tree | 86c755bd9c5ef78d53006bc75170030b092297a8 /include/linux/hrtimer.h | |
parent | 15f27ce24cb613e6e01ce27c4094c55e55dde5d4 (diff) | |
download | linux-stable-192a82f9003fe8fabd6088aa646e829225a94c55.tar.gz linux-stable-192a82f9003fe8fabd6088aa646e829225a94c55.tar.bz2 linux-stable-192a82f9003fe8fabd6088aa646e829225a94c55.zip |
hrtimer_nanosleep(): Pass rmtp in restart_block
Store the pointer to the timespec which gets updated with the remaining
time in the restart block and remove the function argument.
[ tglx: Added changelog ]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170607084241.28657-3-viro@ZenIV.linux.org.uk
Diffstat (limited to 'include/linux/hrtimer.h')
-rw-r--r-- | include/linux/hrtimer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 8c5b10eb7265..b80c34f6fd4b 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -453,7 +453,6 @@ static inline u64 hrtimer_forward_now(struct hrtimer *timer, /* Precise sleep: */ extern long hrtimer_nanosleep(struct timespec64 *rqtp, - struct timespec __user *rmtp, const enum hrtimer_mode mode, const clockid_t clockid); extern long hrtimer_nanosleep_restart(struct restart_block *restart_block); |