Skip to contentSkip to conversation

fix typo in audit_p2m

PATCH New Olaf Hering 1 participant 1 message Aug 24, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix typo in audit_p2m

Fix typo in audit_p2m(), SHARED_P2M_ENTRY does not exist. Without this change, p2m.c fails to compile if P2M_AUDIT is enabled.

xen/arch/x86/mm/p2m.c +1 -1
@@ -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);