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
This commit is contained in:
Thomas Weißschuh (Schneider Electric)
2026-07-07 23:43:45 +02:00
committed by Thomas Gleixner
parent 95cf8bbadd
commit 071993aac7
+5
View File
@@ -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);