svn commit: r333323 - stable/11/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hselasky at FreeBSD.org
Mon May 7 15:07:27 UTC 2018


Author: hselasky
Date: Mon May  7 15:07:26 2018
New Revision: 333323
URL: https://svnweb.freebsd.org/changeset/base/333323

Log:
  MFC r333108:
  Define USEC_PER_MSEC and USEC_PER_SEC in the LinuxKPI.
  
  Approved by:	re (marius)
  Sponsored by:	Mellanox Technologies

Modified:
  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/time.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/time.h	Mon May  7 14:44:55 2018	(r333322)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/time.h	Mon May  7 15:07:26 2018	(r333323)
@@ -32,6 +32,9 @@
 #define	NSEC_PER_MSEC	1000000L
 #define	NSEC_PER_SEC	1000000000L
 
+#define	USEC_PER_MSEC	1000L
+#define	USEC_PER_SEC	1000000L
+
 #include <sys/time.h>
 #include <sys/stdint.h>
 


More information about the svn-src-stable-11 mailing list