From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artem Bityutskiy Subject: [PATCH] hrtimer: export ktime_add_safe Date: Thu, 28 May 2009 14:42:30 +0300 Message-ID: <1243510950.11172.56.camel@localhost.localdomain> Reply-To: dedekind@infradead.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Ingo Molnar , linux-fsdevel To: Thomas Gleixner Return-path: Received: from smtp.nokia.com ([192.100.122.233]:63726 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757396AbZE1Lnj (ORCPT ); Thu, 28 May 2009 07:43:39 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: =46rom: Artem Bityutskiy 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 --- kernel/hrtimer.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index cb8a15c..18f6906 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -332,6 +332,8 @@ ktime_t ktime_add_safe(const ktime_t lhs, const kti= me_t rhs) return res; } =20 +EXPORT_SYMBOL_GPL(ktime_add_safe); + #ifdef CONFIG_DEBUG_OBJECTS_TIMERS =20 static struct debug_obj_descr hrtimer_debug_descr; --=20 1.6.0.6 --=20 Best regards, Artem Bityutskiy (=D0=91=D0=B8=D1=82=D1=8E=D1=86=D0=BA=D0=B8=D0=B9 =D0=90= =D1=80=D1=82=D1=91=D0=BC) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html