[tip: timers/vdso] vdso/helpers: Explicitly include vdso/processor.h

tip-bot2 for Thomas Weißschuh posted 1 patch 4 weeks ago
There is a newer version of this series
include/vdso/helpers.h | 1 +
1 file changed, 1 insertion(+)
[tip: timers/vdso] vdso/helpers: Explicitly include vdso/processor.h
Posted by tip-bot2 for Thomas Weißschuh 4 weeks ago
The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     5cdebd16ad767d3821eba5ae27a5171fe406a316
Gitweb:        https://git.kernel.org/tip/5cdebd16ad767d3821eba5ae27a5171fe406a316
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 27 Feb 2026 07:44:37 +01:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Wed, 11 Mar 2026 10:27:38 +01:00

vdso/helpers: Explicitly include vdso/processor.h

The usage of cpu_relax() requires vdso/processor.h. Currently
this header is included transitively, but that transitive inclusion is
about to go away.

Explicitly include the header.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-11-35d60acf7410@linutronix.de
---
 include/vdso/helpers.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vdso/helpers.h b/include/vdso/helpers.h
index 403bb45..5d26eb8 100644
--- a/include/vdso/helpers.h
+++ b/include/vdso/helpers.h
@@ -6,6 +6,7 @@
 
 #include <asm/barrier.h>
 #include <vdso/datapage.h>
+#include <vdso/processor.h>
 
 static __always_inline bool vdso_is_timens_clock(const struct vdso_clock *vc)
 {