[PATCH 8/8] hrtimer: Remove inclusion of hrtimer_bases.h remove from hrtimer.h

From: Thomas Weißschuh (Schneider Electric)

Date: Thu Jul 02 2026 - 06:10:24 EST


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.

Fix up some other files which happen to rely some transitive inclusions.

Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@xxxxxxxxxxxxx>
---
include/linux/hrtimer.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 81ab9849e83b..29072d89e5cb 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>

--
2.55.0