git: 62c010b6514b - stable/14 - LinuxKPI: define time64_t
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Apr 2025 11:42:12 UTC
The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=62c010b6514bf62043c93d0d371ef1e2c1421676 commit 62c010b6514bf62043c93d0d371ef1e2c1421676 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-04-24 11:11:35 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-04-29 10:49:34 +0000 LinuxKPI: define time64_t Define time64_t to int64_t for all supported architectures unconditionally. Sponsored by: The FreeBSD Foundation Reviewed by: imp, markj, emaste Differential Revision: https://reviews.freebsd.org/D50004 (cherry picked from commit 8b51cd07f69e9a5052f660d96a8feb7af4b387c1) --- sys/compat/linuxkpi/common/include/linux/time.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/time.h b/sys/compat/linuxkpi/common/include/linux/time.h index 6c9a781d5e0e..ca77a20516ff 100644 --- a/sys/compat/linuxkpi/common/include/linux/time.h +++ b/sys/compat/linuxkpi/common/include/linux/time.h @@ -42,6 +42,8 @@ #include <linux/math64.h> +typedef int64_t time64_t; + static inline struct timeval ns_to_timeval(const int64_t nsec) {