Re: [patch 07/24] ptp: ptp_vmclock: Convert to ktime_get_snapshot_id()

From: Thomas Weißschuh

Date: Wed May 27 2026 - 03:13:29 EST


On Tue, May 26, 2026 at 07:14:03PM +0200, Thomas Gleixner wrote:
> 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 vmclock over and use the new system_time_snapshot::sys field, which
> holds the system timestamp selected by the CLOCK ID argument.
>
> No functional change intended.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
> Cc: Richard Cochran <richardcochran@xxxxxxxxx>
> Cc: netdev@xxxxxxxxxxxxxxx

Reviewed-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>