summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-12-02 20:58:05 +0100
committerRichard Weinberger <richard@nod.at>2020-12-13 22:22:41 +0100
commit2701c1bd91dda815b8541aa8c23e1e548cdb6349 (patch)
tree95932e9779b22c189d7b2c60f32b37799f5ad920 /include/linux/mlx5
parent49da38a3ef330b7a1643e12c51913d58158e5abe (diff)
downloadlinux-2701c1bd91dda815b8541aa8c23e1e548cdb6349.tar.gz
linux-2701c1bd91dda815b8541aa8c23e1e548cdb6349.tar.bz2
linux-2701c1bd91dda815b8541aa8c23e1e548cdb6349.zip
um: time: Fix read_persistent_clock64() in time-travel
In time-travel mode, we've relied on read_persistent_clock64() being called only once at system startup, but this is both the right thing to call from the pseudo-RTC, and also gets called by the timekeeping core during suspend/resume. Thus, fix this to always fall make use of the time_travel_time in any time-travel mode, initializing time_travel_start at boot to the right value depending on the time-travel mode. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions