Date: Thu, 8 Jun 2023 17:59:26 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: b889315da300 - main - LinuxKPI: add ktime_get_real_ts64() Message-ID: <202306081759.358HxQiZ098488@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=b889315da3009256c5078e629a28763d981b70ad commit b889315da3009256c5078e629a28763d981b70ad Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2023-05-23 23:10:32 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2023-06-08 17:58:32 +0000 LinuxKPI: add ktime_get_real_ts64() Add a wrapper for ktime_get_real_ts64() used by a wireless driver. MFC after: 10 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40246 --- sys/compat/linuxkpi/common/include/linux/ktime.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/ktime.h b/sys/compat/linuxkpi/common/include/linux/ktime.h index e0722aa2589b..ebb82d7787c4 100644 --- a/sys/compat/linuxkpi/common/include/linux/ktime.h +++ b/sys/compat/linuxkpi/common/include/linux/ktime.h @@ -190,6 +190,7 @@ timespec64_to_ns(struct timespec64 *ts) #define ktime_get_ts(ts) getnanouptime(ts) #define ktime_get_ts64(ts) getnanouptime(ts) #define ktime_get_raw_ts64(ts) getnanouptime(ts) +#define ktime_get_real_ts64(ts) getnanotime(ts) #define getrawmonotonic64(ts) getnanouptime(ts) static inline int64_t
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306081759.358HxQiZ098488>