[tip: timers/vdso] arm64: vDSO: compat_gettimeofday: Add explicit includes
From: tip-bot2 for Thomas Weißschuh
Date: Wed Mar 11 2026 - 06:12:24 EST
The following commit has been merged into the timers/vdso branch of tip:
Commit-ID: 97d9e308be0fde44c3f4acf7c73ea4148a6aa6b8
Gitweb: https://git.kernel.org/tip/97d9e308be0fde44c3f4acf7c73ea4148a6aa6b8
Author: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
AuthorDate: Fri, 27 Feb 2026 07:44:28 +01:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Wed, 11 Mar 2026 10:27:36 +01:00
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@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-2-35d60acf7410@xxxxxxxxxxxxx
---
arch/arm64/include/asm/vdso/compat_gettimeofday.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/include/asm/vdso/compat_gettimeofday.h b/arch/arm64/include/asm/vdso/compat_gettimeofday.h
index 0d513f9..a03e34b 100644
--- a/arch/arm64/include/asm/vdso/compat_gettimeofday.h
+++ b/arch/arm64/include/asm/vdso/compat_gettimeofday.h
@@ -7,6 +7,9 @@
#ifndef __ASSEMBLER__
+#include <vdso/clocksource.h>
+#include <vdso/time32.h>
+
#include <asm/barrier.h>
#include <asm/unistd_compat_32.h>
#include <asm/errno.h>