From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH v2 5/5] [RFC] Traditional console timestamps including milliseconds Date: Mon, 3 Mar 2014 10:35:28 +0000 Message-ID: <53145AF0.1070801@citrix.com> References: <1393613824-13230-1-git-send-email-andrew.cooper3@citrix.com> <1393613824-13230-6-git-send-email-andrew.cooper3@citrix.com> <53115CB1.7070905@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53115CB1.7070905@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org On 01/03/14 04:06, Julien Grall wrote: > Hello Andrew, > > On 01/03/14 02:57, Andrew Cooper wrote: >> diff --git a/xen/include/asm-x86/time.h b/xen/include/asm-x86/time.h >> index 147b39e..2f9dbd1 100644 >> --- a/xen/include/asm-x86/time.h >> +++ b/xen/include/asm-x86/time.h >> @@ -49,7 +49,7 @@ int dom0_pit_access(struct ioreq *ioreq); >> int cpu_frequency_change(u64 freq); >> >> struct tm; >> -struct tm wallclock_time(void); >> +struct tm wallclock_time(uint64_t *ns); >> > > > You also need to modify the prototype in asm-arm/time.h. Otherwise it > will break compilation on ARM. > > BTW, as the function is used by common code, can you merge the both > prototype in xen/time.h? > > Regards, > Hmm yes - I had overlooked that it was a common function declared in an x86 header. It certainly should be moved, irrespective of whether this change actually happens (subject to the RFCs in patch 0) ~Andrew