If P2M_PRINTK is re-defined as ordinary printk,
some (disabled) debug statements will not compile.
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
--- 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",
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|