summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2013-12-12 03:10:36 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-13 21:50:26 (GMT)
commitf7efe92de8f98563e1a711021f91d55f9a1de963 (patch)
tree8c4e2671578bcb2cad97ecdb6efa1ce792876f20 /Kconfig
parentaaa5ad29bc420c04cb0df5e4d6876aa32096b7d0 (diff)
downloadlinux-fsl-qoriq-f7efe92de8f98563e1a711021f91d55f9a1de963.tar.xz
timekeeping: Fix missing timekeeping_update in suspend path
commit 330a1617b0a6268d427aa5922c94d082b1d3e96d upstream. 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. In the timekeeping suspend path, we udpate the timekeeper structure, so we should be sure to update the shadow-timekeeper before releasing the timekeeping locks. Currently this isn't done. In most cases, the next time related code to run would be timekeeping_resume, which does update the shadow-timekeeper, but in an abundence of caution, this patch adds the call to timekeeping_update() in the suspend path. 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> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions