svn commit: r333108 - head/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hselasky at FreeBSD.org
Mon Apr 30 09:31:10 UTC 2018


Author: hselasky
Date: Mon Apr 30 09:31:09 2018
New Revision: 333108
URL: https://svnweb.freebsd.org/changeset/base/333108

Log:
  Define USEC_PER_MSEC and USEC_PER_SEC in the LinuxKPI.
  
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/time.h

Modified: head/sys/compat/linuxkpi/common/include/linux/time.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/time.h	Mon Apr 30 08:51:04 2018	(r333107)
+++ head/sys/compat/linuxkpi/common/include/linux/time.h	Mon Apr 30 09:31:09 2018	(r333108)
@@ -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-head mailing list