# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 127d856ce124f77adb93e2242475b98833c7bbfd
# Parent d49fd494963e7492a2de8a8eebb18ccb56b5495d
Try again to get the ptrdiff_t printf right for 64-bit.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r d49fd494963e -r 127d856ce124 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c Sun Oct 30 16:20:09 2005
+++ b/xen/arch/x86/domain.c Sun Oct 30 18:22:31 2005
@@ -189,7 +189,7 @@
{
list_for_each_entry ( page, &d->page_list, list )
{
- printk("Page %p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n",
+ printk("Page %p: mfn=%td, caf=%08x, taf=%" PRtype_info "\n",
_p(page_to_phys(page)), page-frame_table, page->count_info,
page->u.inuse.type_info);
}
@@ -197,13 +197,13 @@
list_for_each_entry ( page, &d->xenpage_list, list )
{
- printk("XenPage %p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n",
+ printk("XenPage %p: mfn=%td, caf=%08x, taf=%" PRtype_info "\n",
_p(page_to_phys(page)), page-frame_table, page->count_info,
page->u.inuse.type_info);
}
page = virt_to_page(d->shared_info);
- printk("Shared_info@%p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n",
+ printk("Shared_info@%p: mfn=%td, caf=%08x, taf=%" PRtype_info "\n",
_p(page_to_phys(page)), page-frame_table, page->count_info,
page->u.inuse.type_info);
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|