diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-05-29 22:00:12 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-06-04 11:04:16 +0200 |
| commit | 744f8406a3d197b8e466d1ab09c4c3b8de8d65ea (patch) | |
| tree | aa79b17b767fc109e918801bb973a3253cf39183 /include | |
| parent | ed645be2ab1bcbc0e27242c7316fc15475962333 (diff) | |
| download | lwn-744f8406a3d197b8e466d1ab09c4c3b8de8d65ea.tar.gz lwn-744f8406a3d197b8e466d1ab09c4c3b8de8d65ea.zip | |
KVM: arm64: Use ktime_get_snapshot_id() to snapshot CLOCK_REALTIME
ktime_get_snapshot() is replaced by ktime_get_snapshot_id() which allows to
request a particular CLOCK ID to be captured along with the clocksource
counter.
Convert the usage in kvm_get_ptp_time() over and use the new
system_time_snapshot::systime field, which holds the system timestamp
selected by the CLOCK ID argument.
No functional change intended.
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Arthur Kiyanovski <akiyano@amazon.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://patch.msgid.link/20260529195557.225399927@kernel.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
