direct-io.hg

changeset 7579:4e6c0734c409

Use _p to fix, once and for all, the debugging printf recently changed.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Mon Oct 31 16:59:15 2005 +0100 (2005-10-31)
parents a51ec6d425e7
children 00377595e4f9
files xen/arch/x86/domain.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Mon Oct 31 16:56:34 2005 +0100
     1.2 +++ b/xen/arch/x86/domain.c	Mon Oct 31 16:59:15 2005 +0100
     1.3 @@ -189,22 +189,22 @@ 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=%td, caf=%08x, taf=%" PRtype_info "\n",
     1.8 -                   _p(page_to_phys(page)), page-frame_table, page->count_info,
     1.9 -                   page->u.inuse.type_info);
    1.10 +            printk("Page %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
    1.11 +                   _p(page_to_phys(page)), _p(page - frame_table),
    1.12 +                   page->count_info, page->u.inuse.type_info);
    1.13          }
    1.14      }
    1.15  
    1.16      list_for_each_entry ( page, &d->xenpage_list, list )
    1.17      {
    1.18 -        printk("XenPage %p: mfn=%td, caf=%08x, taf=%" PRtype_info "\n",
    1.19 -               _p(page_to_phys(page)), page-frame_table, page->count_info,
    1.20 -               page->u.inuse.type_info);
    1.21 +        printk("XenPage %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
    1.22 +               _p(page_to_phys(page)), _p(page - frame_table),
    1.23 +               page->count_info, page->u.inuse.type_info);
    1.24      }
    1.25  
    1.26      page = virt_to_page(d->shared_info);
    1.27 -    printk("Shared_info@%p: mfn=%td, caf=%08x, taf=%" PRtype_info "\n",
    1.28 -           _p(page_to_phys(page)), page-frame_table, page->count_info,
    1.29 +    printk("Shared_info@%p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
    1.30 +           _p(page_to_phys(page)), _p(page - frame_table), page->count_info,
    1.31             page->u.inuse.type_info);
    1.32  }
    1.33