posix-timers: Convert timer_settime() to clockid_to_kclock()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 1 Feb 2011 13:52:01 +0000 (13:52 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 14:28:16 +0000 (15:28 +0100)
commit27722df16ef143017db55ac7baac1703a68017ff
treeeb3bc5743adbddb7811627beb3f8981120cc3a79
parent838394fbf989973ec7f5a0ad82cb6ff09e5c39aa
posix-timers: Convert timer_settime() to clockid_to_kclock()

Set the common function for CLOCK_MONOTONIC and CLOCK_REALTIME kclocks
and use the new decoding function.

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: <20110201134419.001863714@linutronix.de>
kernel/posix-timers.c