Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2025 11:42:12 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 62c010b6514b - stable/14 - LinuxKPI: define time64_t
Message-ID:  <202504291142.53TBgCTL049214@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202504291142.53TBgCTL049214>