[tip: timers/vdso] powerpc/vdso/gettimeofday: Explicitly include vdso/time32.h

From: tip-bot2 for Thomas Weißschuh

Date: Wed Mar 11 2026 - 05:45:20 EST


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

Commit-ID: bcc00e306ea02e580adf1b6220db9a470922f451
Gitweb: https://git.kernel.org/tip/bcc00e306ea02e580adf1b6220db9a470922f451
Author: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
AuthorDate: Fri, 27 Feb 2026 07:44:30 +01:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Wed, 11 Mar 2026 10:27:36 +01:00

powerpc/vdso/gettimeofday: Explicitly include vdso/time32.h

The usage of 'struct old_timespec32' requires vdso/time32.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@xxxxxxxxxx>
Reviewed-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-4-35d60acf7410@xxxxxxxxxxxxx
---
arch/powerpc/include/asm/vdso/gettimeofday.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/include/asm/vdso/gettimeofday.h b/arch/powerpc/include/asm/vdso/gettimeofday.h
index 8ea397e..a853f85 100644
--- a/arch/powerpc/include/asm/vdso/gettimeofday.h
+++ b/arch/powerpc/include/asm/vdso/gettimeofday.h
@@ -8,6 +8,7 @@
#include <asm/barrier.h>
#include <asm/unistd.h>
#include <uapi/linux/time.h>
+#include <vdso/time32.h>

#define VDSO_HAS_CLOCK_GETRES 1