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-devel

[Xen-devel] [PATCH] audit_p2m: fix syntax errors in disabled debug code

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] audit_p2m: fix syntax errors in disabled debug code
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Wed, 15 Dec 2010 18:04:49 +0100
Delivery-date: Wed, 15 Dec 2010 09:05:51 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1292432697; l=934; s=domk; d=aepfle.de; h=Content-Type:MIME-Version:Subject:To:From:Date:X-RZG-CLASS-ID: X-RZG-AUTH; bh=a9HYdXQTrxQIjQ8/qjD4SPItW1k=; b=dw7lekUs252yllZZDm3fYrJpFGNWInZ84xERMEdASf3vJWW5tj0o13S6zGY2S+QRmSF x8gHP20dHTE6uKDDhVLUYG93ZvV+Uv8iijczkGrUjU2V8QtzpbCLtDZE9jG5S+w2ZWGgZ i+5PXhnmIJVVHUCqY7J2KXtbaeTYewbDOHM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] audit_p2m: fix syntax errors in disabled debug code, Olaf Hering <=