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

From: tip-bot2 for Thomas Weißschuh
Date: Sat Nov 01 2025 - 15:54:52 EST


The following commit has been merged into the timers/vdso branch of tip:

Commit-ID: bcde5a37ed7419c8d7e513d02c0b2949dfcf7998
Gitweb: https://git.kernel.org/tip/bcde5a37ed7419c8d7e513d02c0b2949dfcf7998
Author: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
AuthorDate: Tue, 14 Oct 2025 08:48:59 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Sat, 01 Nov 2025 20:44:04 +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@xxxxxxxxxxxxx>
Tested-by: Andreas Larsson <andreas@xxxxxxxxxxx>
Reviewed-by: Andreas Larsson <andreas@xxxxxxxxxxx>
Link: https://patch.msgid.link/20251014-vdso-sparc64-generic-2-v4-13-e0607bf49dea@xxxxxxxxxxxxx
---
include/vdso/helpers.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/vdso/helpers.h b/include/vdso/helpers.h
index 1a5ee9d..a1c995a 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 u32 vdso_read_begin(const struct vdso_clock *vc)
{