aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDavid Daney <ddaney.cavm@gmail.com>2013-03-13 15:20:38 -0400
committerThomas Gleixner <tglx@linutronix.de>2013-03-25 05:46:59 -0400
commit8ffbc7d9ff0064ce000788272a609fa79d06ead1 (patch)
treeb34bf84f43d59410a7dc5f474a9aa8459c7bfeb6 /kernel
parent19919226c3f20e6bf5de3df96432ce80ffd63ff2 (diff)
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/hrtimer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index cc47812d3feb..031184e3d872 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -1010,7 +1010,8 @@ int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
1010 * @timer: the timer to be added 1010 * @timer: the timer to be added
1011 * @tim: expiry time 1011 * @tim: expiry time
1012 * @delta_ns: "slack" range for the timer 1012 * @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)
1014 * 1015 *
1015 * Returns: 1016 * Returns:
1016 * 0 on success 1017 * 0 on success
@@ -1027,7 +1028,8 @@ EXPORT_SYMBOL_GPL(hrtimer_start_range_ns);
1027 * hrtimer_start - (re)start an hrtimer on the current CPU 1028 * hrtimer_start - (re)start an hrtimer on the current CPU
1028 * @timer: the timer to be added 1029 * @timer: the timer to be added
1029 * @tim: expiry time 1030 * @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)
1031 * 1033 *
1032 * Returns: 1034 * Returns:
1033 * 0 on success 1035 * 0 on success