From owner-svn-src-head@freebsd.org Fri Jun 8 16:51:29 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C97E9101F729 for ; Fri, 8 Jun 2018 16:51:29 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 539F56ACA2 for ; Fri, 8 Jun 2018 16:51:29 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-RoutePath: aGlwcGll X-MHO-User: 2b759ae4-6b3c-11e8-8837-614b7c574d04 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id 2b759ae4-6b3c-11e8-8837-614b7c574d04; Fri, 08 Jun 2018 16:51:21 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w58GpKs4047306; Fri, 8 Jun 2018 10:51:20 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1528476680.53315.3.camel@freebsd.org> Subject: Re: svn commit: r334777 - head/sys/compat/linuxkpi/common/include/linux From: Ian Lepore To: Hans Petter Selasky , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Fri, 08 Jun 2018 10:51:20 -0600 In-Reply-To: <201806071141.w57BfhEe076323@repo.freebsd.org> References: <201806071141.w57BfhEe076323@repo.freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2018 16:51:30 -0000 On Thu, 2018-06-07 at 11:41 +0000, Hans Petter Selasky wrote: > 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 >   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(k > t) > +#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 >  #include Will this be a problem on i386, where timespec contains a 32-bit time_t?  I think it's the only remaining arch with 32-bit time_t. -- Ian