git: d3975204e4af - main - LinuxKPI: add MSEC_PER_SEC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Oct 2022 21:56:51 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=d3975204e4af9b42af864ff27e8546ac767adfcd
commit d3975204e4af9b42af864ff27e8546ac767adfcd
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-10-22 18:01:30 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-10-23 21:54:36 +0000
LinuxKPI: add MSEC_PER_SEC
Sponsored by: The FreeBSD Foundation
Reviewed by: imp, emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D37087
---
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