WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-4.0-testing] x86 hvm: Fix build error with some GCC

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] x86 hvm: Fix build error with some GCC versions.
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Jun 2010 02:25:52 -0700
Delivery-date: Thu, 10 Jun 2010 02:30:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1276161566 -3600
# Node ID 2d74cb5f973fe3eb26f3623ba461b8c9b3a40893
# Parent  c76e54a28815dc088c1d483fdf01d5037fd8d554
x86 hvm: Fix build error with some GCC versions.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   21590:1bfab8704f32
xen-unstable date:        Thu Jun 10 10:18:00 2010 +0100
---
 xen/arch/x86/hvm/rtc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r c76e54a28815 -r 2d74cb5f973f xen/arch/x86/hvm/rtc.c
--- a/xen/arch/x86/hvm/rtc.c    Thu Jun 10 10:19:09 2010 +0100
+++ b/xen/arch/x86/hvm/rtc.c    Thu Jun 10 10:19:26 2010 +0100
@@ -291,9 +291,9 @@ static void rtc_update_second(void *opaq
      * trying to sync the RTC registers */
     if ( unlikely(now - s->next_second_time > SECONDS(86400)) )
     {
-        dprintk(XENLOG_WARNING, "HVM RTC: dom %u skipping %llu seconds\n",
+        dprintk(XENLOG_WARNING, "HVM RTC: dom %u skipping %"PRId64" seconds\n",
                 vrtc_domain(s)->domain_id, 
-                (now - s->next_second_time) / SYSTEM_TIME_HZ);
+                (int64_t)((now - s->next_second_time) / SYSTEM_TIME_HZ));
         s->next_second_time = now;
     }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] x86 hvm: Fix build error with some GCC versions., Xen patchbot-4.0-testing <=