Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Thomas Weißschuh and committed by
Borislav Petkov (AMD)
8bd49acb 9fc2232e

+1
+1
include/vdso/helpers.h
··· 6 6 7 7 #include <asm/barrier.h> 8 8 #include <vdso/datapage.h> 9 + #include <vdso/processor.h> 9 10 #include <vdso/clocksource.h> 10 11 11 12 static __always_inline bool vdso_is_timens_clock(const struct vdso_clock *vc)