Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2022 17:26:55 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: db28190f19c2 - stable/13 - LinuxKPI: add MSEC_PER_SEC
Message-ID:  <202211281726.2ASHQtOV081007@gitrepo.freebsd.org>

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

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

commit db28190f19c262fb1f69295aaed0a9ce33cd5570
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-10-22 18:01:30 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-11-28 16:30:05 +0000

    LinuxKPI: add MSEC_PER_SEC
    
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    imp, emaste
    Differential Revision: https://reviews.freebsd.org/D37087
    
    (cherry picked from commit d3975204e4af9b42af864ff27e8546ac767adfcd)
---
 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 c7a41a83f4aa..2b69ec46935c 100644
--- a/sys/compat/linuxkpi/common/include/linux/time.h
+++ b/sys/compat/linuxkpi/common/include/linux/time.h
@@ -28,6 +28,8 @@
 #ifndef _LINUXKPI_LINUX_TIME_H_
 #define	_LINUXKPI_LINUX_TIME_H_
 
+#define	MSEC_PER_SEC	1000L
+
 #define	NSEC_PER_USEC	1000L
 #define	NSEC_PER_MSEC	1000000L
 #define	NSEC_PER_SEC	1000000000L



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