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] Fix 64-bit build.

# HG changeset patch
# User smh22@xxxxxxxxxxxxxxxxxxxx
# Node ID 539b2757642e62de56ba18a3e3744a57b9ed5b97
# Parent  b3c2bc39d8150b5caf8d4310dd0bbca1a25cc93a
Fix 64-bit build. 

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>

diff -r b3c2bc39d815 -r 539b2757642e tools/libxc/xc_linux_save.c
--- a/tools/libxc/xc_linux_save.c       Tue Nov  8 17:42:07 2005
+++ b/tools/libxc/xc_linux_save.c       Wed Nov  9 08:02:59 2005
@@ -476,7 +476,7 @@
                 /* I don't think this should ever happen */
                 DPRINTF("FNI: [%08lx,%d] pte=%llx,"
                         " mfn=%08lx, pfn=%08lx [mfn]=%08lx\n",
-                        type, i, (uint64_t)pte, mfn, 
+                        type, i, (unsigned long long)pte, mfn, 
                         live_m2p[mfn],
                         (live_m2p[mfn] < max_pfn) ? 
                         live_p2m[live_m2p[mfn]] : 0xdeadbeaf);
@@ -1004,9 +1004,10 @@
                     goto out;
                 }
                 
-                DPRINTF("SUSPEND shinfo %08lx eip %08u edx %08u\n",
-                        info.shared_info_frame,
-                        ctxt.user_regs.eip, ctxt.user_regs.edx);
+                DPRINTF("SUSPEND shinfo %08lx eip %08lx edx %08lx\n", 
+                        info.shared_info_frame, 
+                        (unsigned long)ctxt.user_regs.eip, 
+                        (unsigned long)ctxt.user_regs.edx);
             } 
             
             if (xc_shadow_control(xc_handle, dom, DOM0_SHADOW_CONTROL_OP_CLEAN,

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix 64-bit build., Xen patchbot -unstable <=