summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2016-05-23 13:19:20 +0000
committerhselasky <hselasky@FreeBSD.org>2016-05-23 13:19:20 +0000
commite6ee9b2fa8c3d9d15c0e3a70b61da40dd2eb15f7 (patch)
tree2c70a9d0b8e9915570b08657c9780e7804593ef4
parent4909bf3f4c7f726c7bfde6e62eb501445bd1cebb (diff)
downloadFreeBSD-src-e6ee9b2fa8c3d9d15c0e3a70b61da40dd2eb15f7.zip
FreeBSD-src-e6ee9b2fa8c3d9d15c0e3a70b61da40dd2eb15f7.tar.gz
A missing definition needed by ktime_to_ms().
Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies
-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 27516a4..0836b57 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>
OpenPOWER on IntegriCloud