Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2018 15:07:26 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r333323 - stable/11/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201805071507.w47F7QPX035026@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>
 



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