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

tip-bot2 for Thomas Weißschuh posted 1 patch 3 weeks, 6 days ago
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 3 weeks, 6 days ago
The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     8bd49acb4e81d2859f66a30e8edfd984f91c6c9c
Gitweb:        https://git.kernel.org/tip/8bd49acb4e81d2859f66a30e8edfd984f91c6c9c
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 27 Feb 2026 07:44:37 +01:00
Committer:     Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Wed, 11 Mar 2026 15:22:26 +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>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
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 197d233..a3bf4f1 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>
 #include <vdso/clocksource.h>
 
 static __always_inline bool vdso_is_timens_clock(const struct vdso_clock *vc)