summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-02-27 09:44:37 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2026-03-11 17:22:26 +0300
commit8bd49acb4e81d2859f66a30e8edfd984f91c6c9c (patch)
treebb8ba883dbecd8865c14383bae6e2e894d8a56a4
parent9fc2232e285bbd3d71c251376255d7fb2ae34f73 (diff)
downloadlinux-8bd49acb4e81d2859f66a30e8edfd984f91c6c9c.tar.xz
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
-rw-r--r--include/vdso/helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vdso/helpers.h b/include/vdso/helpers.h
index 197d233667c2..a3bf4f1c0d37 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)