aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/time.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2018-04-30 09:31:09 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2018-04-30 09:31:09 +0000
commit45aca3b1a198ba8fdb899c3c9e7a782302324bd2 (patch)
tree3dd0dcfad86366afa6af09986093c6c27ffc3a09 /sys/compat/linuxkpi/common/include/linux/time.h
parentdd7ea6c21a8b0b7b86f4dcbe032c4461838ee52c (diff)
downloadsrc-45aca3b1a198ba8fdb899c3c9e7a782302324bd2.tar.gz
src-45aca3b1a198ba8fdb899c3c9e7a782302324bd2.zip
Define USEC_PER_MSEC and USEC_PER_SEC in the LinuxKPI.
MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=333108
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/time.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/time.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/time.h b/sys/compat/linuxkpi/common/include/linux/time.h
index 0836b57ac5d5..b3af28864c04 100644
--- a/sys/compat/linuxkpi/common/include/linux/time.h
+++ b/sys/compat/linuxkpi/common/include/linux/time.h
@@ -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>