[PATCH v2 01/13] vdso: Add struct __kernel_old_timeval forward declaration to gettime.h

Thomas Weißschuh posted 13 patches 1 month, 2 weeks ago
[PATCH v2 01/13] vdso: Add struct __kernel_old_timeval forward declaration to gettime.h
Posted by Thomas Weißschuh 1 month, 2 weeks ago
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>
---
 include/vdso/gettime.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vdso/gettime.h b/include/vdso/gettime.h
index c50d152e7b3e0670ea87cb51452c0a03b98403a0..9ac161866653a01c2a54702cb72fe5bda488ee2c 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)

-- 
2.50.1

[tip: timers/vdso] vdso: Add struct __kernel_old_timeval forward declaration to gettime.h
Posted by tip-bot2 for Thomas Weißschuh 4 weeks ago
The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     437054b1bbe11be87ab0a522b8ccbae3f785c642
Gitweb:        https://git.kernel.org/tip/437054b1bbe11be87ab0a522b8ccbae3f785c642
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 15 Aug 2025 12:41:10 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Fri, 05 Sep 2025 23:04:35 +02:00

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: 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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vdso/gettime.h b/include/vdso/gettime.h
index c50d152..9ac1618 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)
[tip: timers/vdso] vdso: Add struct __kernel_old_timeval forward declaration to gettime.h
Posted by tip-bot2 for Thomas Weißschuh 1 month ago
The following commit has been merged into the timers/vdso branch of tip:

Commit-ID:     e994a4197086cd5df809277b3b96c88f75e1e860
Gitweb:        https://git.kernel.org/tip/e994a4197086cd5df809277b3b96c88f75e1e860
Author:        Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate:    Fri, 15 Aug 2025 12:41:10 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Thu, 04 Sep 2025 14:55:44 +02:00

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: 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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vdso/gettime.h b/include/vdso/gettime.h
index c50d152..9ac1618 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)