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.

arm64: vDSO: compat_gettimeofday: Add explicit includes

The reference to VDSO_CLOCKMODE_ARCHTIMER 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>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-2-35d60acf7410@linutronix.de

authored by

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

+3
+3
arch/arm64/include/asm/vdso/compat_gettimeofday.h
··· 7 7 8 8 #ifndef __ASSEMBLER__ 9 9 10 + #include <vdso/clocksource.h> 11 + #include <vdso/time32.h> 12 + 10 13 #include <asm/barrier.h> 11 14 #include <asm/unistd_compat_32.h> 12 15 #include <asm/errno.h>