diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-05-29 21:59:59 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-06-02 11:39:58 +0200 |
| commit | fe1159fe49b40f73de88d2c29200c813952e061f (patch) | |
| tree | 1246f40d4bc062d3d9c0e23d8ec2b5bf8a1d39e3 /include/linux | |
| parent | ef22786707e3967b539c3b1e6b5c7ea8b408430f (diff) | |
pps: generators: Use ktime_get_real_ts64() instead of ktime_get_snapshot()
There is no reason to use the more complex ktime_get_snapshot() for
retrieving CLOCK_REALTIME.
Just use ktime_get_real_ts64(), which avoids the extra timespec64
conversion as a bonus.
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: Rodolfo Giometti <giometti@enneenne.com>
Link: https://patch.msgid.link/20260529195557.074439049@kernel.org
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
