hrtimer: Rework hrtimer_nanosleep to make sys_compat_nanosleep easier
commit04c227140fed77587432667a574b14736a06dd7f
authorAnton Blanchard <anton@samba.org>
Mon, 15 Oct 2007 21:06:04 +0000 (15 16:06 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Oct 2007 20:54:18 +0000 (18 22:54 +0200)
tree56cc470fae9f0d78d499c9ab2ab526acb35440e4
parentd85714d81cc0408daddb68c10f7fd69eafe7c213
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>
include/linux/hrtimer.h
kernel/hrtimer.c
kernel/posix-timers.c