[tip: timers/vdso] ARM: vdso: gettimeofday: Add explicit includes

From: tip-bot2 for Thomas Weißschuh

Date: Wed Mar 11 2026 - 10:58:19 EST


The following commit has been merged into the timers/vdso branch of tip:

Commit-ID: 89e6796fa530a90059c63b7c02e54a426d278c9b
Gitweb: https://git.kernel.org/tip/89e6796fa530a90059c63b7c02e54a426d278c9b
Author: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
AuthorDate: Fri, 27 Feb 2026 07:44:29 +01:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Wed, 11 Mar 2026 15:12:27 +01:00

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@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-3-35d60acf7410@xxxxxxxxxxxxx
---
arch/arm/include/asm/vdso/gettimeofday.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/include/asm/vdso/gettimeofday.h b/arch/arm/include/asm/vdso/gettimeofday.h
index 1e9f816..26da5d8 100644
--- a/arch/arm/include/asm/vdso/gettimeofday.h
+++ b/arch/arm/include/asm/vdso/gettimeofday.h
@@ -11,6 +11,8 @@
#include <asm/errno.h>
#include <asm/unistd.h>
#include <asm/vdso/cp15.h>
+#include <vdso/clocksource.h>
+#include <vdso/time32.h>
#include <uapi/linux/time.h>

#define VDSO_HAS_CLOCK_GETRES 1