summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-08-15 12:41:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-15 11:59:58 +0200
commit3a57944a483be724da7000959625770359ea0d1c (patch)
tree73d466ab03a7d651cee998b6306b8743d6953144 /include
parent4e0043a5424f66c239c00c935396a2b104f61120 (diff)
downloadlinux-3a57944a483be724da7000959625770359ea0d1c.tar.gz
linux-3a57944a483be724da7000959625770359ea0d1c.tar.bz2
linux-3a57944a483be724da7000959625770359ea0d1c.zip
vdso: Add struct __kernel_old_timeval forward declaration to gettime.h
[ Upstream commit 437054b1bbe11be87ab0a522b8ccbae3f785c642 ] The prototype of __vdso_gettimeofday() uses this struct. However gettime.h's own includes do not provide a definition for it. Add a forward declaration, similar to other used structs. Fixes: 42874e4eb35b ("arch: vdso: consolidate gettime prototypes") Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250815-vdso-sparc64-generic-2-v2-1-b5ff80672347@linutronix.de Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/vdso/gettime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vdso/gettime.h b/include/vdso/gettime.h
index c50d152e7b3e..9ac161866653 100644
--- a/include/vdso/gettime.h
+++ b/include/vdso/gettime.h
@@ -5,6 +5,7 @@
#include <linux/types.h>
struct __kernel_timespec;
+struct __kernel_old_timeval;
struct timezone;
#if !defined(CONFIG_64BIT) || defined(BUILD_VDSO32_64)