[tip: timers/vdso] vdso/helpers: Explicitly include vdso/processor.h
From: tip-bot2 for Thomas Weißschuh
Date: Wed Mar 11 2026 - 10:55:27 EST
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@xxxxxxxxxxxxx>
AuthorDate: Fri, 27 Feb 2026 07:44:37 +01:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
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@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-11-35d60acf7410@xxxxxxxxxxxxx
---
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)