mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
The PTP core indicates in system_device_crosststamp::clock_id the clock ID for which the system time stamp should be taken. That allows to utilize hardware timestamps with e.g. AUX clocks. Use ktime_get_snapshot_id() and hand the provided clock ID in. No functional change. Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Arthur Kiyanovski <[email protected]> Reviewed-by: David Woodhouse <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Link: https://patch.msgid.link/[email protected]