WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Use _p to fix, once and for all, the debugging printf re

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Use _p to fix, once and for all, the debugging printf recently changed.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 01 Nov 2005 17:36:09 +0000
Delivery-date: Tue, 01 Nov 2005 17:34:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 4e6c0734c409e9eaeab4bad9252d31a15cf4f31d
# Parent  a51ec6d425e7e369329e2636139b6cf0c7f317d5
Use _p to fix, once and for all, the debugging printf recently changed.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r a51ec6d425e7 -r 4e6c0734c409 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Mon Oct 31 15:56:34 2005
+++ b/xen/arch/x86/domain.c     Mon Oct 31 15:59:15 2005
@@ -189,22 +189,22 @@
     {
         list_for_each_entry ( page, &d->page_list, list )
         {
-            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);
+            printk("Page %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
+                   _p(page_to_phys(page)), _p(page - frame_table),
+                   page->count_info, page->u.inuse.type_info);
         }
     }
 
     list_for_each_entry ( page, &d->xenpage_list, list )
     {
-        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);
+        printk("XenPage %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
+               _p(page_to_phys(page)), _p(page - frame_table),
+               page->count_info, page->u.inuse.type_info);
     }
 
     page = virt_to_page(d->shared_info);
-    printk("Shared_info@%p: mfn=%td, caf=%08x, taf=%" PRtype_info "\n",
-           _p(page_to_phys(page)), page-frame_table, page->count_info,
+    printk("Shared_info@%p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
+           _p(page_to_phys(page)), _p(page - frame_table), page->count_info,
            page->u.inuse.type_info);
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Use _p to fix, once and for all, the debugging printf recently changed., Xen patchbot -unstable <=