linux-mips
[Top] [All Lists]

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

To: Linus Walleij <linus.walleij@stericsson.com>
Subject: Re: [PATCH] Make MIPS dynamic clocksource/clockevent clock code generic
From: Shane McDonald <mcdonald.shane@gmail.com>
Date: Sun, 18 Oct 2009 23:17:47 -0600
Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.org, Thomas Gleixner <tglx@linutronix.de>, Mikael Pettersson <mikpe@it.uu.se>, Ralf Baechle <ralf@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=/VL8XZaLF0PIFKW9KjSi/6tqMUVoRRn20fdvmodZpto=; b=JYTCnYAowAM9M7SbIPCubzydWAOfDNWyr9kpXCwhgiZCAkH45B0bclqXStidsVASw5 AKfMB6e2QD93UxKq0i9sL4YZPrNQ2PewOtKEM2uU2QbDxnBOQdjmlI2rPupHR3lPeWn4 Jvv0GEPpw8oNy6IAdxdiaGTnpapsagIvCr8iA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wWhyqWU0gPc+cKXykC3j/xc/bK94dRTiEN51hMVvnJZW1bZuKRUTmsaVsS8UBueetJ RL10pt796ac5uPeYhw55nJZPhs3ZPJyvNwDC/ikl6H0apnZfcJz9zgZlOlERXNdBMlHH 1MoUN4iQWkc/LRnidVpJQ7A51vIti+M3Xwnyk=
In-reply-to: <1255819715-19763-1-git-send-email-linus.walleij@stericsson.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1255819715-19763-1-git-send-email-linus.walleij@stericsson.com>
Sender: linux-mips-bounce@linux-mips.org
Hello:

On Sat, Oct 17, 2009 at 4:48 PM, Linus Walleij <linus.walleij@stericsson.com> 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@stericsson.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Mikael Pettersson <mikpe@it.uu.se>
Cc: Ralf Baechle <ralf@linux-mips.org>
---
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@gmail.com>

Shane
<Prev in Thread] Current Thread [Next in Thread>