diff options
author | Anton Blanchard <anton@samba.org> | 2007-10-15 16:06:04 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-18 22:54:18 +0200 |
commit | 04c227140fed77587432667a574b14736a06dd7f (patch) | |
tree | 56cc470fae9f0d78d499c9ab2ab526acb35440e4 /include/linux/hrtimer.h | |
parent | d85714d81cc0408daddb68c10f7fd69eafe7c213 (diff) | |
download | op-kernel-dev-04c227140fed77587432667a574b14736a06dd7f.zip op-kernel-dev-04c227140fed77587432667a574b14736a06dd7f.tar.gz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 540799b..7a9398e 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); /* Precise sleep: */ extern long hrtimer_nanosleep(struct timespec *rqtp, - struct timespec __user *rmtp, + struct timespec *rmtp, const enum hrtimer_mode mode, const clockid_t clockid); extern long hrtimer_nanosleep_restart(struct restart_block *restart_block); |