]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
posix-timers: Avoid direct access to hrtimer clockbase
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 21 Aug 2025 13:28:08 +0000 (15:28 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 9 Sep 2025 10:27:17 +0000 (12:27 +0200)
commit24fb08dcc40f52cf5f95d2cdaa0c26e33a2f4285
tree6373e551484a773c8939e6ce02b8c59a31765470
parent0a26e5eb78fb1627beb8e3eb172737f8492d2799
posix-timers: Avoid direct access to hrtimer clockbase

The field timer->base->get_time is a private implementation detail and
should not be accessed outside of the hrtimer core.

Switch to the equivalent helpers.

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-1-3ae822e5bfbd@linutronix.de
kernel/time/posix-timers.c