[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] audit_p2m: fix syntax errors in disabled debug code



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1292514112 0
# Node ID 16b1130dbaacbb5d214320bf2b19d79bd6f87b0f
# Parent  aa18b8ddaf05084aef3f8cff11d92248a8b6fac8
audit_p2m: fix syntax errors in disabled debug code

If P2M_PRINTK is re-defined as ordinary printk,
some (disabled) debug statements will not compile.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 xen/arch/x86/mm/p2m.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r aa18b8ddaf05 -r 16b1130dbaac xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c     Thu Dec 16 15:38:57 2010 +0000
+++ b/xen/arch/x86/mm/p2m.c     Thu Dec 16 15:41:52 2010 +0000
@@ -2007,7 +2007,7 @@ static void audit_p2m(struct p2m_domain 
         }
 
         // P2M_PRINTK("OK: mfn=%#lx, gfn=%#lx, p2mfn=%#lx, lp2mfn=%#lx\n",
-        //                mfn, gfn, p2mfn, lp2mfn);
+        //                mfn, gfn, mfn_x(p2mfn), lp2mfn);
     }
 
     spin_unlock(&d->page_alloc_lock);
@@ -2169,7 +2169,7 @@ static void audit_p2m(struct p2m_domain 
     //P2M_PRINTK("p2m audit complete\n");
     //if ( orphans_i | orphans_d | mpbad | pmbad )
     //    P2M_PRINTK("p2m audit found %lu orphans (%lu inval %lu debug)\n",
-    //                   orphans_i + orphans_d, orphans_i, orphans_d,
+    //                   orphans_i + orphans_d, orphans_i, orphans_d);
     if ( mpbad | pmbad )
     {
         P2M_PRINTK("p2m audit found %lu odd p2m, %lu bad m2p entries\n",

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.