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

No differences found