]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
vdso/helpers: Explicitly include vdso/processor.h
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 27 Feb 2026 06:44:37 +0000 (07:44 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 11 Mar 2026 14:22:26 +0000 (15:22 +0100)
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
include/vdso/helpers.h

index 197d233667c28154940a2ad1614958eff2936491..a3bf4f1c0d37d015fd8e1bacf9e97fc7ee5b7b10 100644 (file)
@@ -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)