Date: Mon, 30 Apr 2018 09:31:10 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333108 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <201804300931.w3U9VA9l076334@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804300931.w3U9VA9l076334>