From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: [PATCH] fix typo in audit_p2m Date: Tue, 24 Aug 2010 11:23:22 +0200 Message-ID: <20100824092322.GA31498@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Fix typo in audit_p2m(), SHARED_P2M_ENTRY does not exist. Without this change, p2m.c fails to compile if P2M_AUDIT is enabled. Signed-off-by: Olaf Hering --- xen-unstable.hg-4.1.21976.orig/xen/arch/x86/mm/p2m.c +++ xen-unstable.hg-4.1.21976/xen/arch/x86/mm/p2m.c @@ -1965,7 +1965,7 @@ static void audit_p2m(struct p2m_domain continue; } - if ( gfn == SHARED_P2M_ENTRY) + if ( gfn == SHARED_M2P_ENTRY ) { P2M_PRINTK("shared mfn (%lx) on domain page list!\n", mfn);