posix-timers: Convert timer_gettime() to clockid_to_kclock()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 1 Feb 2011 13:52:04 +0000 (13:52 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 14:28:16 +0000 (15:28 +0100)
commita7319fa253a549c4c6528fb550ae6e72a9c83811
treeadc91fc50100e768323ed04d964c4221a6c36db4
parent27722df16ef143017db55ac7baac1703a68017ff
posix-timers: Convert timer_gettime() 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.101243181@linutronix.de>
kernel/posix-timers.c