Date: Thu, 7 Jun 2018 11:41:43 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334777 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <201806071141.w57BfhEe076323@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Thu Jun 7 11:41:42 2018 New Revision: 334777 URL: https://svnweb.freebsd.org/changeset/base/334777 Log: Wrap timespec64 into timespec in the LinuxKPI. Submitted by: Johannes Lundberg <johalun0@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks Modified: head/sys/compat/linuxkpi/common/include/linux/ktime.h head/sys/compat/linuxkpi/common/include/linux/time.h Modified: head/sys/compat/linuxkpi/common/include/linux/ktime.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/ktime.h Thu Jun 7 11:40:13 2018 (r334776) +++ head/sys/compat/linuxkpi/common/include/linux/ktime.h Thu Jun 7 11:41:42 2018 (r334777) @@ -159,6 +159,7 @@ timeval_to_ktime(struct timeval tv) } #define ktime_to_timespec(kt) ns_to_timespec(kt) +#define ktime_to_timespec64(kt) ns_to_timespec(kt) #define ktime_to_timeval(kt) ns_to_timeval(kt) #define ktime_to_ns(kt) (kt) Modified: head/sys/compat/linuxkpi/common/include/linux/time.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/time.h Thu Jun 7 11:40:13 2018 (r334776) +++ head/sys/compat/linuxkpi/common/include/linux/time.h Thu Jun 7 11:41:42 2018 (r334777) @@ -35,6 +35,8 @@ #define USEC_PER_MSEC 1000L #define USEC_PER_SEC 1000000L +#define timespec64 timespec + #include <sys/time.h> #include <sys/stdint.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806071141.w57BfhEe076323>