diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-12-02 20:58:05 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-12-13 22:22:41 +0100 |
commit | 2701c1bd91dda815b8541aa8c23e1e548cdb6349 (patch) | |
tree | 95932e9779b22c189d7b2c60f32b37799f5ad920 /include/linux/evm.h | |
parent | 49da38a3ef330b7a1643e12c51913d58158e5abe (diff) | |
download | linux-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/evm.h')
0 files changed, 0 insertions, 0 deletions