public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Kevin Hilman <khilman@mvista.com>
Cc: john cooper <john.cooper@third-harmonic.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org
Subject: Re: 2.6.18-rt7: rollover with 32-bit cycles_t
Date: Thu, 9 Nov 2006 10:14:04 +0100	[thread overview]
Message-ID: <20061109091404.GA23876@elte.hu> (raw)
In-Reply-To: <45522E7F.2050503@mvista.com>


* Kevin Hilman <khilman@mvista.com> wrote:

> -	if (T2 < T1)
> +
> +	/* check for buggy clocks, handling wrap for 32-bit clocks */
> +	if (TYPE_EQUAL(cycles_t, unsigned long)) {
> +		if (time_after(T1, T2))
> +			printk("bug: %08x < %08x!\n", T2, T1);
> +	} else if (T2 < T1)
>  		printk("bug: %016Lx < %016Lx!\n", T2, T1);
> +	

ok, i have applied this one.

	Ingo

  reply	other threads:[~2006-11-09  9:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08  1:36 2.6.18-rt7: rollover with 32-bit cycles_t Kevin Hilman
2006-11-08  2:06 ` john cooper
2006-11-08 19:22   ` Kevin Hilman
2006-11-09  9:14     ` Ingo Molnar [this message]
2006-11-08  3:23 ` Daniel Walker
2006-11-08 13:29   ` john cooper

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=20061109091404.GA23876@elte.hu \
    --to=mingo@elte.hu \
    --cc=john.cooper@third-harmonic.com \
    --cc=khilman@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox