On Sun, 18 Oct 2009, Linus Walleij wrote:This moves the clocksource_set_clock() and clockevent_set_clock()
from the MIPS timer code into clockchips and clocksource where
it belongs. The patch was triggered by code posted by Mikael
Pettersson duplicating this code for the IOP ARM system. The
function signatures where altered slightly to fit into their
destination header files, unsigned int changed to u32 and inlined.
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Mikael Pettersson <mikpe@xxxxxxxx>
Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
---
Ralf has stated in earlier conversation that this should be moved,
now we risk duplicating code so let's move it.
Please do not make that functions inline. They are too large and there
is no benefit of inlining them.