xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix typo in audit_p2m
@ 2010-08-24  9:23 Olaf Hering
  0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2010-08-24  9:23 UTC (permalink / raw)
  To: xen-devel

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 <olaf@aepfle.de>

--- 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);

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

only message in thread, other threads:[~2010-08-24  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-24  9:23 [PATCH] fix typo in audit_p2m 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).