posix-timers: Convert clock_nanosleep to clockid_to_kclock()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 1 Feb 2011 13:51:11 +0000 (13:51 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 14:28:13 +0000 (15:28 +0100)
commita5cd2880106cb2c79b3fe24f1c53dadba6a542a0
treeaa0d44b790a38975ff4429e3de3564df92c7b15f
parentcc785ac22b17ed53e8ff5c1501e422be6d10be3c
posix-timers: Convert clock_nanosleep to clockid_to_kclock()

Use the new kclock decoding function in clock_nanosleep and cleanup all
kclocks which use the default functions.

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.034175556@linutronix.de>
drivers/char/mmtimer.c
include/linux/posix-timers.h
kernel/posix-timers.c