lkml.org 
[lkml]   [2008]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/2] Keep track of original clocksource frequency
From
Date

On Wed, 2008-04-02 at 13:20 +0200, Roman Zippel wrote:
> Hi,
>
> On Tue, 18 Mar 2008, john stultz wrote:
>
> > @@ -63,6 +64,7 @@ struct clocksource {
> > cycle_t (*read)(void);
> > cycle_t mask;
> > u32 mult;
> > + s32 mult_orig;
> > u32 shift;
> > unsigned long flags;
> > cycle_t (*vread)(void);
>
> This is wrong, with HZ=100 the jiffies clock multiplier suddenly becomes
> negative and later the raw interval underflows.

Ah, thanks for catching that!

>
> Signed-off-by: Roman Zippel <zippel@linux-m68k.org>

Acked-by: John Stultz <johnstul@us.ibm.com>





\
 
 \ /
  Last update: 2008-04-02 17:41    [W:0.463 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site