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/gettimeofday: Add explicit includes

Various used symbols are only visible through transitive includes.
These transitive includes are about to go away.

Explicitly include the necessary headers.

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-10-35d60acf7410@linutronix.de

authored by

Thomas Weißschuh and committed by
Borislav Petkov (AMD)
9fc2232e 32bd9660

+6
+6
lib/vdso/gettimeofday.c
··· 3 3 * Generic userspace implementations of gettimeofday() and similar. 4 4 */ 5 5 #include <vdso/auxclock.h> 6 + #include <vdso/clocksource.h> 6 7 #include <vdso/datapage.h> 7 8 #include <vdso/helpers.h> 9 + #include <vdso/ktime.h> 10 + #include <vdso/limits.h> 11 + #include <vdso/math64.h> 12 + #include <vdso/time32.h> 13 + #include <vdso/time64.h> 8 14 9 15 /* Bring in default accessors */ 10 16 #include <vdso/vsyscall.h>