lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 20 Aug 2006 21:42:44 +0200
From:	thunder7@...all.nl
To:	Roman Zippel <zippel@...ux-m68k.org>
Cc:	thunder7@...all.nl, Helge Hafting <helgehaf@...el.hist.no>,
	Andi Kleen <ak@...e.de>, john stultz <johnstul@...ibm.com>,
	Andrew Morton <akpm@...l.org>, linux-kernel@...r.kernel.org
Subject: Re: 2.6.18-rc4-mm1 - time moving at 3x speed, bisect finished

From: Roman Zippel <zippel@...ux-m68k.org>
Date: Sun, Aug 20, 2006 at 09:24:05PM +0200
> 
> Thanks for testing, it's a silly sign problem. gcc turned the divide into 
> an unsigned one.
> 
> bye, Roman
> 
> Signed-off-by: Roman Zippel <zippel@...ux-m68k.org>
> 
> ---
>  kernel/time/ntp.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux-2.6-mm/kernel/time/ntp.c
> ===================================================================
> --- linux-2.6-mm.orig/kernel/time/ntp.c
> +++ linux-2.6-mm/kernel/time/ntp.c
> @@ -41,7 +41,7 @@ static long time_reftime;		/* time at la
>  long time_adjust;
>  
>  #define CLOCK_TICK_OVERFLOW	(LATCH * HZ - CLOCK_TICK_RATE)
> -#define CLOCK_TICK_ADJUST	(((s64)CLOCK_TICK_OVERFLOW * NSEC_PER_SEC) / CLOCK_TICK_RATE)
> +#define CLOCK_TICK_ADJUST	(((s64)CLOCK_TICK_OVERFLOW * NSEC_PER_SEC) / (s64)CLOCK_TICK_RATE)
>  
>  static void ntp_update_frequency(void)
>  {
> 
This fixes my problems. Might I suggest this for the hot-fixes/
directory of 2.6.18-rc4-mm2?

Kind regards,
Jurriaan
-- 
Borg-Cola: Not the choice of The Next Generation.
Debian (Unstable) GNU/Linux 2.6.18-rc4-mm2 4423 bogomips load 0.57
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ