Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2025 20:32:32 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8b51cd07f69e - main - LinuxKPI: define time64_t
Message-ID:  <202504272032.53RKWWQB044774@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=8b51cd07f69e9a5052f660d96a8feb7af4b387c1

commit 8b51cd07f69e9a5052f660d96a8feb7af4b387c1
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-27 19:03:42 +0000

    LinuxKPI: define time64_t
    
    Define time64_t to int64_t for all supported architectures
    unconditionally.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    Reviewed by:    imp, markj, emaste
    Differential Revision: https://reviews.freebsd.org/D50004
---
 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?202504272032.53RKWWQB044774>