Skip to contentSkip to conversation

x86/mm: Fix compile with DEBUG_TRACE_DUMP turned on

PATCH Applied Aravindh Puthiyaparambil 2 participants 2 messages Apr 1, 2014 – Apr 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/mm: Fix compile with DEBUG_TRACE_DUMP turned on

xen/arch/x86/mm/p2m.c +2 -3
index ee527da..a218131 100644
@@ -422,14 +422,13 @@ int p2m_alloc_table(struct p2m_domain *p2m)
         goto error;
     p2m->defer_nested_flush = 0;
 
-    P2M_PRINTK("p2m table initialised (%u pages)\n", page_count);
+    P2M_PRINTK("p2m table initialised for slot zero\n");
     p2m_unlock(p2m);
     return 0;
 
     spin_unlock(&p2m->domain->page_alloc_lock);
  error:
-    P2M_PRINTK("failed to initialize p2m table, gfn=%05lx, mfn=%"
-               PRI_mfn "\n", gfn, mfn_x(mfn));
+    P2M_PRINTK("failed to initialise p2m table for slot zero\n");
     p2m_unlock(p2m);
     return -ENOMEM;
 }
Signature · 1 line
1.8.3.2