From: Arnd Bergmann <arnd@arndb.de>
To: Greg Ungerer <gerg@snapgear.com>
Cc: uClinux development list <uclinux-dev@uclinux.org>,
linux-kernel@vger.kernel.org
Subject: Re: [uClinux-dev] [PATCH] m68k: restore lost coldfire CLOCK_TICK_RATE
Date: Thu, 25 Jun 2009 13:30:09 +0200 [thread overview]
Message-ID: <200906251330.10127.arnd@arndb.de> (raw)
In-Reply-To: <4A42C5DC.1040103@snapgear.com>
On Thursday 25 June 2009, Greg Ungerer wrote:
> I thought it did that based on gettimeofday()? And that ends up
> going through the underlying timer code, which for both of
> the ColdFire timer types doesn't use CLOCK_TICK_RATE. They directly
> use the MCF_CLK definition.
The problem is the definition of TICK_NSEC, which is calculated from
CLOCK_TICK_RATE. If you use the i8253 PIT tick rate, this will be
slightly different from the regular TICK_NSEC value of (1000000000 / HZ).
Arnd <><
next prev parent reply other threads:[~2009-06-25 11:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-20 20:11 [PATCH] m68k: restore lost coldfire CLOCK_TICK_RATE Philippe De Muyter
2009-06-22 3:18 ` [uClinux-dev] " Greg Ungerer
2009-06-24 21:11 ` Philippe De Muyter
2009-06-25 0:33 ` Greg Ungerer
2009-06-25 11:30 ` Arnd Bergmann [this message]
2009-08-12 6:42 ` Greg Ungerer
2009-08-13 2:25 ` Philippe De Muyter
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=200906251330.10127.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=gerg@snapgear.com \
--cc=linux-kernel@vger.kernel.org \
--cc=uclinux-dev@uclinux.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.