Skip to content

Commit 8ffbc7d

Browse files
David DaneyKAGA-KOKO
authored andcommitted
hrtimer/trivial: Fix comment text in hrtimer.c
The comments mention HRTIMER_ABS and HRTIMER_REL, these symbols don't exist, the proper names are HRTIMER_MODE_ABS and HRTIMER_MODE_REL. Signed-off-by: David Daney <david.daney@cavium.com> Cc: Jiri Kosina <trivial@kernel.org> Link: http://lkml.kernel.org/r/1363202438-21234-1-git-send-email-ddaney.cavm@gmail.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 1991922 commit 8ffbc7d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎kernel/hrtimer.c‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,8 @@ int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
10101010
* @timer: the timer to be added
10111011
* @tim: expiry time
10121012
* @delta_ns: "slack" range for the timer
1013-
* @mode: expiry mode: absolute (HRTIMER_ABS) or relative (HRTIMER_REL)
1013+
* @mode: expiry mode: absolute (HRTIMER_MODE_ABS) or
1014+
* relative (HRTIMER_MODE_REL)
10141015
*
10151016
* Returns:
10161017
* 0 on success
@@ -1027,7 +1028,8 @@ EXPORT_SYMBOL_GPL(hrtimer_start_range_ns);
10271028
* hrtimer_start - (re)start an hrtimer on the current CPU
10281029
* @timer: the timer to be added
10291030
* @tim: expiry time
1030-
* @mode: expiry mode: absolute (HRTIMER_ABS) or relative (HRTIMER_REL)
1031+
* @mode: expiry mode: absolute (HRTIMER_MODE_ABS) or
1032+
* relative (HRTIMER_MODE_REL)
10311033
*
10321034
* Returns:
10331035
* 0 on success

0 commit comments

Comments
 (0)