hrtimer: Remove hrtimer_clock_base:: Get_time
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 21 Aug 2025 13:28:15 +0000 (15:28 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 9 Sep 2025 10:27:18 +0000 (12:27 +0200)
commit009eb5da29a91016e3ebb988e6401e79411be7a1
treef95fde5376c6b68c90d8dfa2c106ebcc1b6fe84c
parentcdea7cdae26995992a766443e1ea862923f2443d
hrtimer: Remove hrtimer_clock_base:: Get_time

The get_time() callbacks always need to match the bases clockid.
Instead of maintaining that association twice in hrtimer_bases,
use a helper.

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-8-3ae822e5bfbd@linutronix.de
include/linux/hrtimer.h
include/linux/hrtimer_defs.h
kernel/time/hrtimer.c
kernel/time/timer_list.c
scripts/gdb/linux/timerlist.py