summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>2026-07-02 11:42:03 +0200
committerThomas Gleixner <tglx@kernel.org>2026-07-07 23:43:45 +0200
commit071993aac72ea8e6f9986bf41101974e8faa2eca (patch)
tree573d7ba02ded1ec1633c046afaa6ec173965222c /include/linux
parent95cf8bbadd103944c35c55e8c4cb85fa9a4ae84b (diff)
hrtimer: Explicitly include some necessary headers in hrtimer_rearm.h
Multiple used types and symbols are only visible through transitive dependency chains. Include the headers explicitly as those chains are going to go away. 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-6-c50b19bda473@linutronix.de
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hrtimer_rearm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/hrtimer_rearm.h b/include/linux/hrtimer_rearm.h
index a6f2e5d5e1c7..17a81826bd9a 100644
--- a/include/linux/hrtimer_rearm.h
+++ b/include/linux/hrtimer_rearm.h
@@ -2,7 +2,12 @@
#ifndef _LINUX_HRTIMER_REARM_H
#define _LINUX_HRTIMER_REARM_H
+#include <linux/types.h>
+
#ifdef CONFIG_HRTIMER_REARM_DEFERRED
+#include <linux/irqflags.h>
+#include <linux/lockdep.h>
+#include <linux/preempt.h>
#include <linux/thread_info.h>
void __hrtimer_rearm_deferred(void);