2009-10-19 05:22:40

by Shane McDonald

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

Hello:

On Sat, Oct 17, 2009 at 4:48 PM, Linus Walleij
<[email protected]> 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 <[email protected]>
> Cc: Thomas Gleixner <[email protected]>
> Cc: Mikael Pettersson <[email protected]>
> Cc: Ralf Baechle <[email protected]>
> ---
> 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 <[email protected]>

Shane