hrtimer: export ktime_add_safe
PATCH 1/1 hrtimer: export ktime_add_safe
From: Artem Bityutskiy <[email protected]>
Subject: [PATCH] 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 <[email protected]>
--- kernel/hrtimer.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
kernel/hrtimer.c +2 -0
@@ -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;
Signature · 10 lines
1.6.0.6 -- Best regards, Artem Bityutskiy (Битюцкий Артём) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html