aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2025-07-01 13:27:00 +0000
committerPaolo Abeni <[email protected]>2025-07-03 13:36:04 +0000
commit4c09a4cebd0320c5381afad3fb6f997f20082a3b (patch)
tree28c2a5d232fedf65efc35515e4fbcfb1138e6d67 /net/unix/af_unix.c
parentMerge tag 'ktime-get-clock-ts64-for-ptp' of git://git.kernel.org/pub/scm/linu... (diff)
downloadkernel-4c09a4cebd0320c5381afad3fb6f997f20082a3b.tar.gz
kernel-4c09a4cebd0320c5381afad3fb6f997f20082a3b.zip
ptp: Use ktime_get_clock_ts64() for timestamping
The inlined ptp_read_system_[pre|post]ts() switch cases expand to a copious amount of text in drivers, e.g. ~500 bytes in e1000e. Adding auxiliary clock support to the inlines would increase it further. Replace the inline switch case with a call to ktime_get_clock_ts64(), which reduces the code size in drivers and allows to access auxiliary clocks once they are enabled in the IOCTL parameter filter. No functional change. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Vadim Fedorenko <[email protected]> Acked-by: John Stultz <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions