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.

ARM: vdso: gettimeofday: Add explicit includes

The reference to VDSO_CLOCKMODE_NONE requires vdso/clocksource.h and
'struct old_timespec32' requires vdso/time32.h. Currently these headers
are included transitively, but those transitive inclusions are about to go
away.

Explicitly include the 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-3-35d60acf7410@linutronix.de

authored by

Thomas Weißschuh and committed by
Borislav Petkov (AMD)
89e6796f 2b8cf39d

+2
+2
arch/arm/include/asm/vdso/gettimeofday.h
··· 11 11 #include <asm/errno.h> 12 12 #include <asm/unistd.h> 13 13 #include <asm/vdso/cp15.h> 14 + #include <vdso/clocksource.h> 15 + #include <vdso/time32.h> 14 16 #include <uapi/linux/time.h> 15 17 16 18 #define VDSO_HAS_CLOCK_GETRES 1