diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-11-16 16:19:16 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-11-16 16:19:16 +0000 |
commit | 1799873e3a35fabe5a0b687fca3e09405660866b (patch) | |
tree | d7af905d8798f8a12e28cf44839ed09c30ce2e2b /sys/compat | |
parent | 03840eefd7023487e22cab34d7cb17dafa4857a9 (diff) | |
download | src-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.h | 1 |
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) |