hrtimer: Move hrtimer_callback_running() to hrtimer_bases.h

The usage of the hrtimer base introduces a dependency on the timer base
structure definitions from the widely-used hrtimer.h.

Move the helper to hrtimer_bases.h to trim this dependency.

Also adapt the two only callers to now include hrtimer_bases.h.

Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260702-hrtimer-header-dependencies-v1-2-c50b19bda473@linutronix.de
This commit is contained in:
Thomas Weißschuh (Schneider Electric) 2026-07-02 11:41:59 +02:00 • committed by Thomas Gleixner
commit d3dc7fabd4
4 changed files with 13 additions and 9 deletions