aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/time.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2016-05-23 13:19:20 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2016-05-23 13:19:20 +0000
commit8b68f2509f06f261650e4e84d5834353bd19f3f0 (patch)
tree2c70a9d0b8e9915570b08657c9780e7804593ef4 /sys/compat/linuxkpi/common/include/linux/time.h
parent425da8eb61bbe61184dd7160bd93fd3381ab92a7 (diff)
downloadsrc-8b68f2509f06f261650e4e84d5834353bd19f3f0.tar.gz
src-8b68f2509f06f261650e4e84d5834353bd19f3f0.zip
A missing definition needed by ktime_to_ms().
Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=300507
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/time.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/time.h b/sys/compat/linuxkpi/common/include/linux/time.h
index 27516a4c917e..0836b57ac5d5 100644
--- a/sys/compat/linuxkpi/common/include/linux/time.h
+++ b/sys/compat/linuxkpi/common/include/linux/time.h
@@ -29,6 +29,7 @@
#define _LINUX_TIME_H_
#define NSEC_PER_USEC 1000L
+#define NSEC_PER_MSEC 1000000L
#define NSEC_PER_SEC 1000000000L
#include <sys/time.h>