The MIPS tree has functions to calculate the mult/shift factors for
clock events and clock sources. ARM needs such functions as well.
This patch set provides a generic function which replaces the MIPS
implementation.
Thanks,
tglx
[tglx]
> This patch set provides a generic function which replaces the MIPS
> implementation.
Sweet as pie!
Acked-by: Linus Walleij <[email protected]>
Linus Walleij
On Wed, Nov 11, 2009 at 02:05:19PM -0000, Thomas Gleixner wrote:
> The MIPS tree has functions to calculate the mult/shift factors for
> clock events and clock sources. ARM needs such functions as well.
>
> This patch set provides a generic function which replaces the MIPS
> implementation.
Looks good to me, feel free to throw in my Ack-by. I suggest you merge the
MIPS part of the series through your tree.
Ralf
Thomas Gleixner writes:
> The MIPS tree has functions to calculate the mult/shift factors for
> clock events and clock sources. ARM needs such functions as well.
>
> This patch set provides a generic function which replaces the MIPS
> implementation.
I rebased my ARM IOP clocksource/clockevent patch kit on these
generic functions, and it works fine and results in the exact
same shift/mult values as with my clone of the MIPS code.
Tested-by: Mikael Pettersson <[email protected]>