[PATCH 11/15] vdso/helpers: Explicitly include vdso/processor.h

From
Thomas Weißschuh <hidden>
Date
2026-01-14 08:01:51
Also in
linux-arm-kernel, linux-mips, lkml, loongarch
Reply to
Thomas Weißschuh, 2026-01-14
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 <redacted>
---
 include/vdso/helpers.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/vdso/helpers.h b/include/vdso/helpers.h
index 1a5ee9d9052c..a1c995af4696 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)
 {
-- 
2.52.0

Thread (20 messages) 20 messages, 3 authors, last reply 2026-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help