aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2007-10-15 17:06:04 -0400
committerThomas Gleixner <tglx@linutronix.de>2007-10-18 16:54:18 -0400
commit04c227140fed77587432667a574b14736a06dd7f (patch)
tree56cc470fae9f0d78d499c9ab2ab526acb35440e4 /include/linux/hrtimer.h
parentd85714d81cc0408daddb68c10f7fd69eafe7c213 (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/linux/hrtimer.h')
-rw-r--r--include/linux/hrtimer.h2
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: */
302extern long hrtimer_nanosleep(struct timespec *rqtp, 302extern 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);
306extern long hrtimer_nanosleep_restart(struct restart_block *restart_block); 306extern long hrtimer_nanosleep_restart(struct restart_block *restart_block);