From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] time: widen wallclock seconds to 64 bits Date: Mon, 2 Feb 2015 14:40:45 +0000 Message-ID: <1422888045.19293.38.camel@citrix.com> References: <54CA6227020000780005AEF4@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YIIBT-0007pY-Oo for xen-devel@lists.xenproject.org; Mon, 02 Feb 2015 14:41:03 +0000 In-Reply-To: <54CA6227020000780005AEF4@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Wei Liu , Stefano Stabellini , Andrew Cooper , Ian Jackson , Tim Deegan , xen-devel , dgdegra@tycho.nsa.gov, Keir Fraser List-Id: xen-devel@lists.xenproject.org On Thu, 2015-01-29 at 15:39 +0000, Jan Beulich wrote: > Linux is in the process of converting their seconds representation to > 64 bits, so in order to support it consistently we should follow suit > (which at some point in quite a few years we'd have to do anyway). To > represent this in struct shared_info we leverage a 32-bit hole in > x86-64's and arm's variant of the structure; for x86-32 guests the only > (reasonable) choice we have is to put the extension in struct > arch_shared_info. > > A note on the conditional suppressing the xen_wc_sec_hi helper macro > definition in the ix86 case for hypervisor and tools: Neither of the > two actually need this, and its presence causes the tools to fail to > build (due to the inclusion of both the x86-64 and x86-32 variants of > the header). > > As a secondary change, x86's do_platform_op() gets a pointless > initializer as well as a pointless assignment of that same variable > dropped. > > Signed-off-by: Jan Beulich > > --- a/tools/include/xen-foreign/Makefile > +++ b/tools/include/xen-foreign/Makefile > @@ -17,7 +17,7 @@ clean: > distclean: clean > > checker: checker.c $(headers) > - $(HOSTCC) $(HOSTCFLAGS) -o $@ $< > + $(HOSTCC) $(HOSTCFLAGS) -D__XEN_TOOLS__ -o $@ $< This is to make int64_aligned_t available I think? (Which isn't a problem just wanted to check it wasn't something more subtle) Everything else looks ok to me. Ian.