[tip: timers/vdso] vdso/helpers: Explicitly include vdso/processor.h
From: tip-bot2 for Thomas Weißschuh
Date: Wed Mar 11 2026 - 05:41:50 EST
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@xxxxxxxxxxxxx>
AuthorDate: Fri, 27 Feb 2026 07:44:37 +01:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
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@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
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 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)
{