summaryrefslogtreecommitdiff
path: root/xen-all.c
diff options
context:
space:
mode:
authorSander Eikelenboom <linux@eikelenboom.it>2012-12-17 11:37:43 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-12-17 11:37:43 +0000
commitf1b8caf1d927f30f66054733a783651a24db4999 (patch)
treee788e865df8b8485aecf96a41c84b72a90d9cad5 /xen-all.c
parent044b99c6555f562254ae70dc39f32190eecbc1f2 (diff)
Fix compile errors when enabling Xen debug logging.
Signed-off-by: Sander Eikelenboom <linux@eikelenboom.it> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'xen-all.c')
-rw-r--r--xen-all.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xen-all.c b/xen-all.c
index 046cc2ac3..d0142bdf6 100644
--- a/xen-all.c
+++ b/xen-all.c
@@ -292,7 +292,8 @@ static int xen_add_to_physmap(XenIOState *state,
return -1;
go_physmap:
- DPRINTF("mapping vram to %llx - %llx\n", start_addr, start_addr + size);
+ DPRINTF("mapping vram to %"HWADDR_PRIx" - %"HWADDR_PRIx"\n",
+ start_addr, start_addr + size);
pfn = phys_offset >> TARGET_PAGE_BITS;
start_gpfn = start_addr >> TARGET_PAGE_BITS;
@@ -365,8 +366,8 @@ static int xen_remove_from_physmap(XenIOState *state,
phys_offset = physmap->phys_offset;
size = physmap->size;
- DPRINTF("unmapping vram to %llx - %llx, from %llx\n",
- phys_offset, phys_offset + size, start_addr);
+ DPRINTF("unmapping vram to %"HWADDR_PRIx" - %"HWADDR_PRIx", from ",
+ "%"HWADDR_PRIx"\n", phys_offset, phys_offset + size, start_addr);
size >>= TARGET_PAGE_BITS;
start_addr >>= TARGET_PAGE_BITS;