aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/hrtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r--kernel/hrtimer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index d0ba190dfeb6..f44e499e8fca 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -102,7 +102,7 @@ static DEFINE_PER_CPU(struct hrtimer_base, hrtimer_bases[MAX_HRTIMER_BASES]) =
102 * 102 *
103 * The function calculates the monotonic clock from the realtime 103 * The function calculates the monotonic clock from the realtime
104 * clock and the wall_to_monotonic offset and stores the result 104 * clock and the wall_to_monotonic offset and stores the result
105 * in normalized timespec format in the variable pointed to by ts. 105 * in normalized timespec format in the variable pointed to by @ts.
106 */ 106 */
107void ktime_get_ts(struct timespec *ts) 107void ktime_get_ts(struct timespec *ts)
108{ 108{
@@ -583,8 +583,8 @@ EXPORT_SYMBOL_GPL(hrtimer_init);
583 * @which_clock: which clock to query 583 * @which_clock: which clock to query
584 * @tp: pointer to timespec variable to store the resolution 584 * @tp: pointer to timespec variable to store the resolution
585 * 585 *
586 * Store the resolution of the clock selected by which_clock in the 586 * Store the resolution of the clock selected by @which_clock in the
587 * variable pointed to by tp. 587 * variable pointed to by @tp.
588 */ 588 */
589int hrtimer_get_res(const clockid_t which_clock, struct timespec *tp) 589int hrtimer_get_res(const clockid_t which_clock, struct timespec *tp)
590{ 590{