projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f36406
)
hrtimer: export ktime_add_safe
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Thu, 28 May 2009 13:21:24 +0000
(16:21 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Mon, 8 Jun 2009 08:14:58 +0000
(11:14 +0300)
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>
kernel/hrtimer.c
patch
|
blob
|
history
diff --git
a/kernel/hrtimer.c
b/kernel/hrtimer.c
index
cb8a15c
..
18f6906
100644
(file)
--- 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)
return res;
}
+EXPORT_SYMBOL_GPL(ktime_add_safe);
+
#ifdef CONFIG_DEBUG_OBJECTS_TIMERS
static struct debug_obj_descr hrtimer_debug_descr;