[tip: timers/vdso] arm64: vDSO: gettimeofday: Explicitly include vdso/clocksource.h

From: tip-bot2 for Thomas Weißschuh
Date: Sat Nov 01 2025 - 15:58:03 EST


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

Commit-ID: fa41cc6b68bb4966496b371b82a86b52cfbf8771
Gitweb: https://git.kernel.org/tip/fa41cc6b68bb4966496b371b82a86b52cfbf8771
Author: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
AuthorDate: Tue, 14 Oct 2025 08:48:49 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Sat, 01 Nov 2025 20:44:02 +01:00

arm64: vDSO: gettimeofday: Explicitly include vdso/clocksource.h

The reference to VDSO_CLOCKMODE_NONE requires vdso/clocksource.h. Currently
this header is included transitively, but that transitive inclusion is
about to go away.

Explicitly include the header.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Tested-by: Andreas Larsson <andreas@xxxxxxxxxxx>
Reviewed-by: Andreas Larsson <andreas@xxxxxxxxxxx>
Link: https://patch.msgid.link/20251014-vdso-sparc64-generic-2-v4-3-e0607bf49dea@xxxxxxxxxxxxx
---
arch/arm64/include/asm/vdso/gettimeofday.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/include/asm/vdso/gettimeofday.h b/arch/arm64/include/asm/vdso/gettimeofday.h
index c59e841..909780b 100644
--- a/arch/arm64/include/asm/vdso/gettimeofday.h
+++ b/arch/arm64/include/asm/vdso/gettimeofday.h
@@ -9,6 +9,8 @@

#ifndef __ASSEMBLY__

+#include <vdso/clocksource.h>
+
#include <asm/alternative.h>
#include <asm/arch_timer.h>
#include <asm/barrier.h>