diff options
author | John Stultz <john.stultz@linaro.org> | 2013-12-11 18:50:25 -0800 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2013-12-23 11:47:35 -0800 |
commit | f55c07607a38f84b5c7e6066ee1cfe433fa5643c (patch) | |
tree | d7e7e92c896b8041204210704cd47814ea1e13ac /kernel/time/tick-internal.h | |
parent | 0e6601eee039893a3f6420596ae4588d90d13cbe (diff) |
timekeeping: Fix lost updates to tai adjustment
Since 48cdc135d4840 (Implement a shadow timekeeper), we have to
call timekeeping_update() after any adjustment to the timekeeping
structure in order to make sure that any adjustments to the structure
persist.
Unfortunately, the updates to the tai offset via adjtimex do not
trigger this update, causing adjustments to the tai offset to be
made and then over-written by the previous value at the next
update_wall_time() call.
This patch resovles the issue by calling timekeeping_update()
right after setting the tai offset.
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: stable <stable@vger.kernel.org> #3.10+
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time/tick-internal.h')
0 files changed, 0 insertions, 0 deletions