posix-timers: Convert clock_settime to clockid_to_kclock()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 1 Feb 2011 13:51:48 +0000 (13:51 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 14:28:14 +0000 (15:28 +0100)
commit26f9a4796af330173d790c8d2b5e2efcc489e755
treea44b9dbfeedeb22d5f34ce49e4dd2b26cfbeaf97
parent79c9da0d0539fb341a1b48a2a5a23d974726de90
posix-timers: Convert clock_settime to clockid_to_kclock()

Use the new kclock decoding function in clock_settime and cleanup all
kclocks which use the default functions. Rename the misnomed
common_clock_set() to posix_clock_realtime_set().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <johnstul@us.ibm.com>
Tested-by: Richard Cochran <richard.cochran@omicron.at>
LKML-Reference: <20110201134418.518851246@linutronix.de>
include/linux/posix-timers.h
kernel/posix-cpu-timers.c
kernel/posix-timers.c