[tip: timers/core] hrtimer: Explicitly include linux/hrtimer_bases.h

From: tip-bot2 for Thomas Weißschuh (Schneider Electric)

Date: Tue Jul 07 2026 - 17:50:28 EST


The following commit has been merged into the timers/core branch of tip:

Commit-ID: 95cf8bbadd103944c35c55e8c4cb85fa9a4ae84b
Gitweb: https://git.kernel.org/tip/95cf8bbadd103944c35c55e8c4cb85fa9a4ae84b
Author: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@xxxxxxxxxxxxx>
AuthorDate: Thu, 02 Jul 2026 11:42:02 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Tue, 07 Jul 2026 23:43:44 +02:00

hrtimer: Explicitly include linux/hrtimer_bases.h

This header uses some definitions from linux/hrtimer_bases.h.
Currently this header is included transitively, which will change.

Include the header explicitly.

Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Link: https://patch.msgid.link/20260702-hrtimer-header-dependencies-v1-5-c50b19bda473@xxxxxxxxxxxxx
---
kernel/time/hrtimer.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index 0ac8899..01890b7 100644
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -26,6 +26,7 @@
#include <linux/export.h>
#include <linux/percpu.h>
#include <linux/hrtimer.h>
+#include <linux/hrtimer_bases.h>
#include <linux/notifier.h>
#include <linux/syscalls.h>
#include <linux/interrupt.h>