Thread (50 messages) 50 messages, 6 authors, 2025-09-26
STALE248d
Revisions (4)
  1. v3 current
  2. v4 [diff vs current]
  3. v5 [diff vs current]
  4. v6 [diff vs current]

[PATCH v3 13/36] vdso/helpers: Explicitly include vdso/processor.h

From: Thomas Weißschuh <hidden>
Date: 2025-09-17 14:02:02
Also in: linux-kselftest, linux-mips, linux-s390, linuxppc-dev, lkml, loongarch, sparclinux
Subsystem: generic vdso library, the rest · Maintainers: Andy Lutomirski, Thomas Gleixner, Vincenzo Frascino, Linus Torvalds

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 1a5ee9d9052c38553c0cdf413e0030286f884d53..a1c995af4696351e55cd870c7c4211b0984fe9ab 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.51.0

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help