ia64/xen-unstable
changeset 7577:127d856ce124
Try again to get the ptrdiff_t printf right for 64-bit.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
author | emellor@leeni.uk.xensource.com |
---|---|
date | Sun Oct 30 19:22:31 2005 +0100 (2005-10-30) |
parents | d49fd494963e |
children | 43676a509982 |
files | xen/arch/x86/domain.c |
line diff
1.1 --- a/xen/arch/x86/domain.c Sun Oct 30 17:20:09 2005 +0100 1.2 +++ b/xen/arch/x86/domain.c Sun Oct 30 19:22:31 2005 +0100 1.3 @@ -189,7 +189,7 @@ void dump_pageframe_info(struct domain * 1.4 { 1.5 list_for_each_entry ( page, &d->page_list, list ) 1.6 { 1.7 - printk("Page %p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n", 1.8 + printk("Page %p: mfn=%td, caf=%08x, taf=%" PRtype_info "\n", 1.9 _p(page_to_phys(page)), page-frame_table, page->count_info, 1.10 page->u.inuse.type_info); 1.11 } 1.12 @@ -197,13 +197,13 @@ void dump_pageframe_info(struct domain * 1.13 1.14 list_for_each_entry ( page, &d->xenpage_list, list ) 1.15 { 1.16 - printk("XenPage %p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n", 1.17 + printk("XenPage %p: mfn=%td, caf=%08x, taf=%" PRtype_info "\n", 1.18 _p(page_to_phys(page)), page-frame_table, page->count_info, 1.19 page->u.inuse.type_info); 1.20 } 1.21 1.22 page = virt_to_page(d->shared_info); 1.23 - printk("Shared_info@%p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n", 1.24 + printk("Shared_info@%p: mfn=%td, caf=%08x, taf=%" PRtype_info "\n", 1.25 _p(page_to_phys(page)), page-frame_table, page->count_info, 1.26 page->u.inuse.type_info); 1.27 }