[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080303000725.dd73760a.akpm@linux-foundation.org>
Date: Mon, 3 Mar 2008 00:07:25 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Matti Linnanvuori <mattilinnanvuori@...oo.com>
Cc: zippel@...ux-m68k.org, linux-kernel@...r.kernel.org,
johnstul@...ibm.com, mingo@...e.hu, tglx@...utronix.de
Subject: Re: [PATCH v2] Remove obsolete CLOCK_TICK_ADJUST
On Sat, 1 Mar 2008 22:48:45 -0800 (PST) Matti Linnanvuori <mattilinnanvuori@...oo.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.
--
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