Skip to content

Commit 437054b

Browse files
t-8chKAGA-KOKO
authored andcommitted
vdso: Add struct __kernel_old_timeval forward declaration to gettime.h
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: 42874e4 ("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
1 parent 258b37c commit 437054b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/vdso/gettime.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <linux/types.h>
66

77
struct __kernel_timespec;
8+
struct __kernel_old_timeval;
89
struct timezone;
910

1011
#if !defined(CONFIG_64BIT) || defined(BUILD_VDSO32_64)

0 commit comments

Comments
 (0)