projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
258b37c
)
vdso: Add struct __kernel_old_timeval forward declaration to gettime.h
author
Thomas Weißschuh
<thomas.weissschuh@linutronix.de>
Fri, 15 Aug 2025 10:41:10 +0000
(12:41 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 5 Sep 2025 21:04:35 +0000
(23:04 +0200)
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
include/vdso/gettime.h
patch
|
blob
|
history
diff --git
a/include/vdso/gettime.h
b/include/vdso/gettime.h
index
c50d152
..
9ac1618
100644
(file)
--- 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)