diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-28 09:21:24 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-06-08 04:14:58 -0400 |
commit | 8daa21e61be47a5b136c4ee1be82e391a5788696 (patch) | |
tree | 1b8468a8f8d9dde524e140dc0bf068cce8a5bb98 | |
parent | 3f36406f26437afae9f43cc6dcfc264143e21ed0 (diff) |
hrtimer: export ktime_add_safe
We want to use hrtimers in UBIFS (for write-buffer write-back timer).
We need the 'hrtimer_set_expires_range_ns()', which is an in-line
function which uses 'ktime_add_safe()'.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | kernel/hrtimer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index cb8a15c19583..18f6906169da 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -332,6 +332,8 @@ ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) | |||
332 | return res; | 332 | return res; |
333 | } | 333 | } |
334 | 334 | ||
335 | EXPORT_SYMBOL_GPL(ktime_add_safe); | ||
336 | |||
335 | #ifdef CONFIG_DEBUG_OBJECTS_TIMERS | 337 | #ifdef CONFIG_DEBUG_OBJECTS_TIMERS |
336 | 338 | ||
337 | static struct debug_obj_descr hrtimer_debug_descr; | 339 | static struct debug_obj_descr hrtimer_debug_descr; |