Messages in this thread | | | Subject | Re: [patch 05/28] posix-timers: Introduce clockid_to_kclock() | From | john stultz <> | Date | Tue, 01 Feb 2011 12:37:54 -0800 |
| |
On Tue, 2011-02-01 at 13:51 +0000, Thomas Gleixner wrote: > plain text document attachment > (posix-timers-introduce-clockid-to-kclock.patch) > New function to find the kclock for a given clockid. > > Returns a pointer to clock_posix_cpu if clockid < 0. If clockid >= > MAXCLOCK or if the clock_getres pointer is not set it returns > -EINVAL. For valid clocks it returns a pointer to the matching > posix_clock. > > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > Cc: John Stultz <john.stultz@linaro.org> > Cc: Richard Cochran <richard.cochran@omicron.at>
Acked-by: John Stultz <johnstul@us.ibm.com>
| |