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@linutronix.de>
AuthorDate: Tue, 14 Oct 2025 08:48:59 +02:00
Committer: Thomas Gleixner <tglx@linutronix.de>
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@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Link: https://patch.msgid.link/20251014-vdso-sparc64-generic-2-v4-13-e0607bf49dea@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 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)
{