svn commit: r335429 - stable/11/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky
hselasky at FreeBSD.org
Wed Jun 20 06:52:34 UTC 2018
Author: hselasky
Date: Wed Jun 20 06:52:32 2018
New Revision: 335429
URL: https://svnweb.freebsd.org/changeset/base/335429
Log:
MFC r334777:
Wrap timespec64 into timespec in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0 at gmail.com>
Sponsored by: Mellanox Technologies
Sponsored by: Limelight Networks
Modified:
stable/11/sys/compat/linuxkpi/common/include/linux/ktime.h
stable/11/sys/compat/linuxkpi/common/include/linux/time.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/compat/linuxkpi/common/include/linux/ktime.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/ktime.h Wed Jun 20 06:51:41 2018 (r335428)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/ktime.h Wed Jun 20 06:52:32 2018 (r335429)
@@ -159,6 +159,7 @@ timeval_to_ktime(struct timeval tv)
}
#define ktime_to_timespec(kt) ns_to_timespec(kt)
+#define ktime_to_timespec64(kt) ns_to_timespec(kt)
#define ktime_to_timeval(kt) ns_to_timeval(kt)
#define ktime_to_ns(kt) (kt)
Modified: stable/11/sys/compat/linuxkpi/common/include/linux/time.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/time.h Wed Jun 20 06:51:41 2018 (r335428)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/time.h Wed Jun 20 06:52:32 2018 (r335429)
@@ -35,6 +35,8 @@
#define USEC_PER_MSEC 1000L
#define USEC_PER_SEC 1000000L
+#define timespec64 timespec
+
#include <sys/time.h>
#include <sys/stdint.h>
More information about the svn-src-stable
mailing list