Re: [PATCH] Make MIPS dynamic clocksource/clockevent clock code generic

From: Shane McDonald
Date: Mon Oct 19 2009 - 01:22:51 EST


Hello:

On Sat, Oct 17, 2009 at 4:48 PM, Linus Walleij
<linus.walleij@xxxxxxxxxxxxxx> 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.
>
> I don't have access to a MIPS cross-compiler so please can the
> MIPS people test this?

I have tested this patch on an RM7000-based MIPS system.  The patch
compiles fine, and the kernel successfully runs.  You can add my:

Tested-by: Shane McDonald <mcdonald.shane@xxxxxxxxx>

Shane
--
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/