diff options
author | Anton Blanchard <anton@samba.org> | 2007-10-15 17:06:04 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-18 16:54:18 -0400 |
commit | 04c227140fed77587432667a574b14736a06dd7f (patch) | |
tree | 56cc470fae9f0d78d499c9ab2ab526acb35440e4 /include | |
parent | d85714d81cc0408daddb68c10f7fd69eafe7c213 (diff) |
hrtimer: Rework hrtimer_nanosleep to make sys_compat_nanosleep easier
Pull the copy_to_user out of hrtimer_nanosleep and into the callers
(common_nsleep, sys_nanosleep) in preparation for converting
compat_sys_nanosleep to use hrtimers.
Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/hrtimer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 540799bc85f8..7a9398e19704 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h | |||
@@ -300,7 +300,7 @@ hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval); | |||
300 | 300 | ||
301 | /* Precise sleep: */ | 301 | /* Precise sleep: */ |
302 | extern long hrtimer_nanosleep(struct timespec *rqtp, | 302 | extern long hrtimer_nanosleep(struct timespec *rqtp, |
303 | struct timespec __user *rmtp, | 303 | struct timespec *rmtp, |
304 | const enum hrtimer_mode mode, | 304 | const enum hrtimer_mode mode, |
305 | const clockid_t clockid); | 305 | const clockid_t clockid); |
306 | extern long hrtimer_nanosleep_restart(struct restart_block *restart_block); | 306 | extern long hrtimer_nanosleep_restart(struct restart_block *restart_block); |