Skip to content
Commit 04c22714 authored by Anton Blanchard's avatar Anton Blanchard Committed by Thomas Gleixner
Browse files

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: default avatarAnton Blanchard <anton@samba.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent d85714d8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment