xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] audit_p2m: fix syntax errors in disabled debug code
@ 2010-12-15 17:04 Olaf Hering
  0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2010-12-15 17:04 UTC (permalink / raw)
  To: xen-devel


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

Signed-off-by: Olaf Hering <olaf@aepfle.de>

--- xen-unstable.hg-4.1.22544.orig/xen/arch/x86/mm/p2m.c
+++ xen-unstable.hg-4.1.22544/xen/arch/x86/mm/p2m.c
@@ -2002,7 +2002,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);
@@ -2164,7 +2164,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",

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-15 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-15 17:04 [PATCH] audit_p2m: fix syntax errors in disabled debug code Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).