[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877fb61p4o.fsf@gmail.com>
Date: Wed, 24 Aug 2016 11:40:23 +0200
From: Nicolai Stange <nicstange@...il.com>
To: Nicolai Stange <nicstange@...il.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
John Stultz <john.stultz@...aro.org>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC v4 22/22] timekeeping: inform clockevents about freq adjustments
Nicolai Stange <nicstange@...il.com> writes:
> --- a/kernel/time/timekeeping.c
> +++ b/kernel/time/timekeeping.c
> @@ -1845,6 +1845,9 @@ static __always_inline void timekeeping_apply_adjustment(struct timekeeper *tk,
> tk->xtime_interval += interval;
> tk->tkr_mono.xtime_nsec -= offset;
> tk->ntp_error -= (interval - offset) << tk->ntp_error_shift;
> +
> + clockevents_adjust_all_freqs(tk->tkr_mono.mult,
> + tk->tkr_mono.clock->mult);
> }
FYI, the kernel build robot has reported a build failure for
CONFIG_GENERIC_CLOCKEVENTS=n.
In order to avoid unnecessary traffic, I'll only fix this up in a v5 if
you give the whole thing a go.
Powered by blists - more mailing lists