Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 06:52:33 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r335429 - stable/11/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201806200652.w5K6qXwo031358@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed Jun 20 06:52:32 2018
New Revision: 335429
URL: https://svnweb.freebsd.org/changeset/base/335429

Log:
  MFC r334777:
  Wrap timespec64 into timespec in the LinuxKPI.
  
  Submitted by:	Johannes Lundberg <johalun0@gmail.com>
  Sponsored by:	Mellanox Technologies
  Sponsored by:	Limelight Networks

Modified:
  stable/11/sys/compat/linuxkpi/common/include/linux/ktime.h
  stable/11/sys/compat/linuxkpi/common/include/linux/time.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linuxkpi/common/include/linux/ktime.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/ktime.h	Wed Jun 20 06:51:41 2018	(r335428)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/ktime.h	Wed Jun 20 06:52:32 2018	(r335429)
@@ -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: stable/11/sys/compat/linuxkpi/common/include/linux/time.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/time.h	Wed Jun 20 06:51:41 2018	(r335428)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/time.h	Wed Jun 20 06:52:32 2018	(r335429)
@@ -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?201806200652.w5K6qXwo031358>