]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hrtimer: Use hrtimer_cb_get_time() helper
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 21 Aug 2025 13:28:14 +0000 (15:28 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 9 Sep 2025 10:27:18 +0000 (12:27 +0200)
commitcdea7cdae26995992a766443e1ea862923f2443d
tree89917651255ae9811623ec11fb1c997a9fb781db
parent44d7fb8acdf833a97669afeeed40cf27eb1dfc24
hrtimer: Use hrtimer_cb_get_time() helper

Various other helpers contain open-coded implementations of
hrtimer_cb_get_time(). This prevents refactoring the implementation.

Reuse the existing helper.

For this to work, move hrtimer_cb_get_time() a bit up in the file and also
make its argument 'const'.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/all/20250821-hrtimer-cleanup-get_time-v2-7-3ae822e5bfbd@linutronix.de
include/linux/hrtimer.h