Re: CLOCK_TICK_RATE in NTP code

2007-11-03 Thread Roman Zippel
Hi, On Thursday 01 November 2007, Ralf Baechle wrote: > kernel/time/ntp.c contains the following piece of code: > > #define CLOCK_TICK_OVERFLOW (LATCH * HZ - CLOCK_TICK_RATE) > #define CLOCK_TICK_ADJUST (((s64)CLOCK_TICK_OVERFLOW * NSEC_PER_SEC) > / \ (s64)CLOCK_TICK_RATE) > > static

Re: CLOCK_TICK_RATE in NTP code

2007-11-03 Thread Roman Zippel
Hi, On Thursday 01 November 2007, Ralf Baechle wrote: kernel/time/ntp.c contains the following piece of code: #define CLOCK_TICK_OVERFLOW (LATCH * HZ - CLOCK_TICK_RATE) #define CLOCK_TICK_ADJUST (((s64)CLOCK_TICK_OVERFLOW * NSEC_PER_SEC) / \ (s64)CLOCK_TICK_RATE) static void

CLOCK_TICK_RATE in NTP code

2007-11-01 Thread Ralf Baechle
kernel/time/ntp.c contains the following piece of code: #define CLOCK_TICK_OVERFLOW (LATCH * HZ - CLOCK_TICK_RATE) #define CLOCK_TICK_ADJUST (((s64)CLOCK_TICK_OVERFLOW * NSEC_PER_SEC) / \ (s64)CLOCK_TICK_RATE) static void

CLOCK_TICK_RATE in NTP code

2007-11-01 Thread Ralf Baechle
kernel/time/ntp.c contains the following piece of code: #define CLOCK_TICK_OVERFLOW (LATCH * HZ - CLOCK_TICK_RATE) #define CLOCK_TICK_ADJUST (((s64)CLOCK_TICK_OVERFLOW * NSEC_PER_SEC) / \ (s64)CLOCK_TICK_RATE) static void