|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[Xen-devel] [PATCH 26 of 45] gcc-4.6 compile fix:	xen/arch/x86/time.c 
| # HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824411 -7200
# Node ID c8f5b4743f9a91dc1e879d35f8f2d4b981f0963d
# Parent  a7329b4e30a3c5db1ec52c9d331f13187927d3bb
gcc-4.6 compile fix: xen/arch/x86/time.c
time.c: In function 'local_time_calibration':
time.c:1007:14: error: variable 'prev_local_stime' set but not used 
[-Werror=unused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
diff -r a7329b4e30a3 -r c8f5b4743f9a xen/arch/x86/time.c
--- a/xen/arch/x86/time.c       Thu May 19 19:00:10 2011 +0200
+++ b/xen/arch/x86/time.c       Thu May 19 19:00:11 2011 +0200
@@ -1052,14 +1052,15 @@ static void local_time_calibration(void)
     curr_master_stime = c->stime_master_stamp;
     local_irq_enable();
 
-#if 0
+    if ( 0 )
+    {
     printk("PRE%d: tsc=%"PRIu64" stime=%"PRIu64" master=%"PRIu64"\n",
            smp_processor_id(), prev_tsc, prev_local_stime, prev_master_stime);
     printk("CUR%d: tsc=%"PRIu64" stime=%"PRIu64" master=%"PRIu64
            " -> %"PRId64"\n",
            smp_processor_id(), curr_tsc, curr_local_stime, curr_master_stime,
            curr_master_stime - curr_local_stime);
-#endif
+    }
 
     /* Local time warps forward if it lags behind master time. */
     if ( curr_local_stime < curr_master_stime )
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-devel] [PATCH 17 of 45] gcc-4.6 compile fix: tools/python/xen/lowlevel/netlink/libnetlink.c, (continued)
[Xen-devel] [PATCH 17 of 45] gcc-4.6 compile fix: tools/python/xen/lowlevel/netlink/libnetlink.c, Olaf Hering
[Xen-devel] [PATCH 18 of 45] gcc-4.6 compile fix:	xen/common/cpupool.c, Olaf Hering
[Xen-devel] [PATCH 19 of 45] gcc-4.6 compile fix:	xen/common/grant_table.c, Olaf Hering
[Xen-devel] [PATCH 20 of 45] gcc-4.6 compile fix: xen/common/kexec.c, Olaf Hering
[Xen-devel] [PATCH 21 of 45] gcc-4.6 compile fix:	xen/common/sched_credit2.c, Olaf Hering
[Xen-devel] [PATCH 22 of 45] gcc-4.6 compile fix: xen/common/unlzo.c, Olaf Hering
[Xen-devel] [PATCH 23 of 45] gcc-4.6 compile fix: xen/drivers/passthrough/vtd/intremap.c, Olaf Hering
[Xen-devel] [PATCH 24 of 45] gcc-4.6 compile fix: xen/arch/x86/msi.c, Olaf Hering
[Xen-devel] [PATCH 25 of 45] gcc-4.6 compile fix:	xen/arch/x86/microcode_amd.c, Olaf Hering
[Xen-devel] [PATCH 26 of 45] gcc-4.6 compile fix:	xen/arch/x86/time.c,
Olaf Hering <=
[Xen-devel] [PATCH 27 of 45] gcc-4.6 compile fix:	xen/arch/x86/acpi/cpu_idle.c, Olaf Hering
[Xen-devel] [PATCH 28 of 45] gcc-4.6 compile fix:	xen/arch/x86/cpu/amd.c, Olaf Hering
[Xen-devel] [PATCH 29 of 45] gcc-4.6 compile fix:	xen/arch/x86/cpu/intel.c, Olaf Hering
[Xen-devel] [PATCH 30 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/intel_cacheinfo.c, Olaf Hering
[Xen-devel] [PATCH 32 of 45] gcc-4.6 compile fix:	xen/arch/x86/hvm/emulate.c, Olaf Hering
[Xen-devel] [PATCH 33 of 45] gcc-4.6 compile fix:	xen/arch/x86/hvm/hvm.c, Olaf Hering
[Xen-devel] [PATCH 31 of 45] gcc-4.6 compile fix:	xen/arch/x86/cpu/mcheck/mce.c, Olaf Hering
 |  |  | 
  
    |  |  |