]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hrtimer: Return ktime_t from hrtimer_get_next_event()/hrtimer_next_event_without()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 4 May 2026 06:56:10 +0000 (08:56 +0200)
committerThomas Gleixner <tglx@kernel.org>
Wed, 6 May 2026 06:33:09 +0000 (08:33 +0200)
commit3af1f49f415dcac8c0df8bfc593df0371c219876
tree1d6d78cf18cb8057e0ed44026941c679eaf6d9b0
parent33d4bfc49613301c8e451a597e377aaa331944bc
hrtimer: Return ktime_t from hrtimer_get_next_event()/hrtimer_next_event_without()

These functions really work in terms of ktime_t and not u64.

Change their return types and adapt the callers.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260504-hrtimer-next_event-v2-1-7a5d0550b42f@linutronix.de
include/linux/hrtimer.h
kernel/time/hrtimer.c
kernel/time/tick-sched.c
kernel/time/timer.c