lkml.org 
[lkml]   [2006]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.18-rt7: rollover with 32-bit cycles_t

* 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-09 10:17    [from the cache]
©2003-2011 Jasper Spaans