]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbab7b8e870e77beec823a5b105f5c6f8479ab290
tree56cc470fae9f0d78d499c9ab2ab526acb35440e4
parent60c96f97e03227005a046d04dc2464868b3d19e7
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