ia64/xen-unstable

changeset 7711:539b2757642e

Fix 64-bit build.

Signed-off-by: Steven Hand <steven@xensource.com>
author smh22@firebug.cl.cam.ac.uk
date Wed Nov 09 09:02:59 2005 +0100 (2005-11-09)
parents b3c2bc39d815
children 003339f0fcb2
files tools/libxc/xc_linux_save.c
line diff
     1.1 --- a/tools/libxc/xc_linux_save.c	Tue Nov 08 18:42:07 2005 +0100
     1.2 +++ b/tools/libxc/xc_linux_save.c	Wed Nov 09 09:02:59 2005 +0100
     1.3 @@ -476,7 +476,7 @@ void canonicalize_pagetable(unsigned lon
     1.4                  /* I don't think this should ever happen */
     1.5                  DPRINTF("FNI: [%08lx,%d] pte=%llx,"
     1.6                          " mfn=%08lx, pfn=%08lx [mfn]=%08lx\n",
     1.7 -                        type, i, (uint64_t)pte, mfn, 
     1.8 +                        type, i, (unsigned long long)pte, mfn, 
     1.9                          live_m2p[mfn],
    1.10                          (live_m2p[mfn] < max_pfn) ? 
    1.11                          live_p2m[live_m2p[mfn]] : 0xdeadbeaf);
    1.12 @@ -1004,9 +1004,10 @@ int xc_linux_save(int xc_handle, int io_
    1.13                      goto out;
    1.14                  }
    1.15                  
    1.16 -                DPRINTF("SUSPEND shinfo %08lx eip %08u edx %08u\n",
    1.17 -                        info.shared_info_frame,
    1.18 -                        ctxt.user_regs.eip, ctxt.user_regs.edx);
    1.19 +                DPRINTF("SUSPEND shinfo %08lx eip %08lx edx %08lx\n", 
    1.20 +                        info.shared_info_frame, 
    1.21 +                        (unsigned long)ctxt.user_regs.eip, 
    1.22 +                        (unsigned long)ctxt.user_regs.edx);
    1.23              } 
    1.24              
    1.25              if (xc_shadow_control(xc_handle, dom, DOM0_SHADOW_CONTROL_OP_CLEAN,