lkml.org 
[lkml]   [2008]   [Mar]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 3 Mar 2008 00:07:25 -0800
FromAndrew Morton <>
SubjectRe: [PATCH v2] Remove obsolete CLOCK_TICK_ADJUST
On Sat, 1 Mar 2008 22:48:45 -0800 (PST) Matti Linnanvuori <mattilinnanvuori@yahoo.com> wrote:

> --- a/kernel/time/ntp.c~time-remove-obsolete-clock_tick_adjust
> +++ a/kernel/time/ntp.c
> @@ -42,12 +42,13 @@ long time_esterror = NTP_PHASE_LIMIT; /*
>  long time_freq;    /* frequency offset (scaled ppm)*/
>  static long time_reftime;  /* time at last adjustment (s) */
>  long time_adjust;
> +static long ntp_tick_adj;
> 
>  static void ntp_update_frequency(void)
>  {
>   u64 second_length = (u64)(tick_usec * NSEC_PER_USEC * USER_HZ)
>      << TICK_LENGTH_SHIFT;
> - second_length += (s64)CLOCK_TICK_ADJUST << TICK_LENGTH_SHIFT;
> + second_length += (s64)ntp_tick_adj << TICK_LENGTH_SHIFT;
>   second_length += (s64)time_freq << (TICK_LENGTH_SHIFT - SHIFT_NSEC);
> 

your email client has converted the tabs into single-spaces.


\
 
 \ /
  Last update: 2008-03-03 09:11    [from the cache]
©2003-2008