[tip: timers/core] hrtimer: Remove inclusion of hrtimer_bases.h remove from hrtimer.h

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

Date: Tue Jul 07 2026 - 17:49:44 EST


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

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

hrtimer: Remove inclusion of hrtimer_bases.h remove from hrtimer.h

hrtimer.h is used all over the kernel. Any change to hrtimer_bases.h
effectively triggers a full rebuild.

As all logical dependencies from hrtimer.h to hrtimer_bases.h have been
removed, the inclusion is now unncessary. Remove it.

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-8-c50b19bda473@xxxxxxxxxxxxx
---
include/linux/hrtimer.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 81ab984..29072d8 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -12,7 +12,6 @@
#ifndef _LINUX_HRTIMER_H
#define _LINUX_HRTIMER_H

-#include <linux/hrtimer_bases.h>
#include <linux/hrtimer_rearm.h>
#include <linux/hrtimer_types.h>
#include <linux/init.h>