[PATCH] Export clocks_calc_mult_shift() function

From: Stathis Voukelatos
Date: Wed Feb 18 2015 - 05:47:44 EST

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@xxxxxxxxxx>
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;

/*[Clocksource internal variables]---------
* curr_clocksource:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/