From: johnstul@us.ibm.com (john stultz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: tegra: timer: Separate clocksource and sched_clock
Date: Wed, 17 Nov 2010 16:27:08 -0800 [thread overview]
Message-ID: <1290040028.2504.24.camel@work-vm> (raw)
In-Reply-To: <1290039615-23407-1-git-send-email-ccross@android.com>
On Wed, 2010-11-17 at 16:20 -0800, Colin Cross wrote:
> tegra_clocksource_read should not use cnt32_to_63, wrapping is
> already handled in the clocksource code. Move the cnt32_to_63
> into the sched_clock function, and replace the use of clocksource
> mult and shift with a multiplication by 1000 to convert us to ns.
>
> Change-Id: Ica1158c3fbed0ba53391f7db61180129a957511d
> Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: John Stultz <johnstul@us.ibm.com>
WARNING: multiple messages have this Message-ID (diff)
From: john stultz <johnstul@us.ibm.com>
To: Colin Cross <ccross@android.com>
Cc: linux-tegra@vger.kernel.org,
Linus Walleij <linus.ml.walleij@gmail.com>,
Nicolas Pitre <nico@fluxnic.net>,
Thomas Gleixner <tglx@linutronix.de>,
Erik Gilling <konkers@android.com>,
Olof Johansson <olof@lixom.net>,
Russell King <linux@arm.linux.org.uk>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: tegra: timer: Separate clocksource and sched_clock
Date: Wed, 17 Nov 2010 16:27:08 -0800 [thread overview]
Message-ID: <1290040028.2504.24.camel@work-vm> (raw)
In-Reply-To: <1290039615-23407-1-git-send-email-ccross@android.com>
On Wed, 2010-11-17 at 16:20 -0800, Colin Cross wrote:
> tegra_clocksource_read should not use cnt32_to_63, wrapping is
> already handled in the clocksource code. Move the cnt32_to_63
> into the sched_clock function, and replace the use of clocksource
> mult and shift with a multiplication by 1000 to convert us to ns.
>
> Change-Id: Ica1158c3fbed0ba53391f7db61180129a957511d
> Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: John Stultz <johnstul@us.ibm.com>
next prev parent reply other threads:[~2010-11-18 0:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 0:20 [PATCH] ARM: tegra: timer: Separate clocksource and sched_clock Colin Cross
2010-11-18 0:20 ` Colin Cross
2010-11-18 0:27 ` john stultz [this message]
2010-11-18 0:27 ` john stultz
2010-11-19 19:08 ` Linus Walleij
2010-11-19 19:08 ` Linus Walleij
2010-12-13 13:51 ` Russell King - ARM Linux
2010-12-13 13:51 ` Russell King - ARM Linux
2010-12-13 22:55 ` Colin Cross
2010-12-13 22:55 ` Colin Cross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1290040028.2504.24.camel@work-vm \
--to=johnstul@us.ibm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.