[tip: timers/vdso] vdso/gettimeofday: Add explicit includes
From: tip-bot2 for Thomas Weißschuh
Date: Wed Mar 11 2026 - 10:55:57 EST
The following commit has been merged into the timers/vdso branch of tip:
Commit-ID: 9fc2232e285bbd3d71c251376255d7fb2ae34f73
Gitweb: https://git.kernel.org/tip/9fc2232e285bbd3d71c251376255d7fb2ae34f73
Author: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
AuthorDate: Fri, 27 Feb 2026 07:44:36 +01:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Wed, 11 Mar 2026 15:13:00 +01:00
vdso/gettimeofday: Add explicit includes
Various used symbols are only visible through transitive includes.
These transitive includes are about to go away.
Explicitly include the necessary 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-10-35d60acf7410@xxxxxxxxxxxxx
---
lib/vdso/gettimeofday.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c
index efd1b82..ad79642 100644
--- a/lib/vdso/gettimeofday.c
+++ b/lib/vdso/gettimeofday.c
@@ -3,8 +3,14 @@
* Generic userspace implementations of gettimeofday() and similar.
*/
#include <vdso/auxclock.h>
+#include <vdso/clocksource.h>
#include <vdso/datapage.h>
#include <vdso/helpers.h>
+#include <vdso/ktime.h>
+#include <vdso/limits.h>
+#include <vdso/math64.h>
+#include <vdso/time32.h>
+#include <vdso/time64.h>
/* Bring in default accessors */
#include <vdso/vsyscall.h>