aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2018-11-16 16:19:16 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2018-11-16 16:19:16 +0000
commit1799873e3a35fabe5a0b687fca3e09405660866b (patch)
treed7af905d8798f8a12e28cf44839ed09c30ce2e2b /sys/compat
parent03840eefd7023487e22cab34d7cb17dafa4857a9 (diff)
downloadsrc-1799873e3a35fabe5a0b687fca3e09405660866b.tar.gz
src-1799873e3a35fabe5a0b687fca3e09405660866b.zip
Implement ktime_get_ts64() function macro in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=340479
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/ktime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/ktime.h b/sys/compat/linuxkpi/common/include/linux/ktime.h
index d8f8af873bee..3a7682928d0c 100644
--- a/sys/compat/linuxkpi/common/include/linux/ktime.h
+++ b/sys/compat/linuxkpi/common/include/linux/ktime.h
@@ -176,6 +176,7 @@ timeval_to_ktime(struct timeval tv)
#define ktime_to_timespec64(kt) ns_to_timespec(kt)
#define ktime_to_timeval(kt) ns_to_timeval(kt)
#define ktime_to_ns(kt) (kt)
+#define ktime_get_ts64(ts) ktime_get_ts(ts)
static inline int64_t
ktime_get_ns(void)