[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1424256443-8622-1-git-send-email-stathis.voukelatos@linn.co.uk>
Date: Wed, 18 Feb 2015 10:47:23 +0000
From: Stathis Voukelatos <stathis.voukelatos@...n.co.uk>
To: <linux-kernel@...r.kernel.org>
CC: Stathis Voukelatos <stathis.voukelatos@...n.co.uk>
Subject: [PATCH] Export clocks_calc_mult_shift() function
It is a useful utility function, that would allow cyclecounter
users built as loadable modules to dynamically calculate the mult
and shift values
Signed-off-by: Stathis Voukelatos <stathis.voukelatos@...n.co.uk>
---
kernel/time/clocksource.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index 4892352..de7708a 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -87,6 +87,7 @@ clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 maxsec)
*mult = tmp;
*shift = sft;
}
+EXPORT_SYMBOL(clocks_calc_mult_shift);
/*[Clocksource internal variables]---------
* curr_clocksource:
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists