[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Minor cleanup of the SH_V*LOG macros.
ChangeSet 1.1362, 2005/04/21 21:18:32+01:00, maf46@xxxxxxxxxxxxxxxxx Minor cleanup of the SH_V*LOG macros. Signed-off-by: michael.fetterman@xxxxxxxxxxxx arch/x86/shadow.c | 8 ++++---- include/asm-x86/shadow.h | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff -Nru a/xen/arch/x86/shadow.c b/xen/arch/x86/shadow.c --- a/xen/arch/x86/shadow.c 2005-04-21 21:07:44 -04:00 +++ b/xen/arch/x86/shadow.c 2005-04-21 21:07:44 -04:00 @@ -325,7 +325,7 @@ l1_pgentry_t *hl2 = map_domain_mem(smfn << PAGE_SHIFT); int i, limit; - SH_VVLOG("%s: smfn=%p freed\n", __func__, smfn); + SH_VVLOG("%s: smfn=%p freed", __func__, smfn); #ifdef __i386__ if ( shadow_mode_external(d) ) @@ -2435,7 +2435,7 @@ spte = l1e_empty(); - SH_VVLOG("shadow_fault( va=%p, code=%lu )", va, regs->error_code ); + SH_VVLOG("shadow_fault( va=%p, code=%lu )", va, regs->error_code); perfc_incrc(shadow_fault_calls); check_pagetable(ed, "pre-sf"); @@ -2458,7 +2458,7 @@ __guest_get_l2e(ed, va, &gpde); if ( unlikely(!(l2e_get_flags(gpde) & _PAGE_PRESENT)) ) { - SH_VVLOG("shadow_fault - EXIT: L1 not present" ); + SH_VVLOG("shadow_fault - EXIT: L1 not present"); perfc_incrc(shadow_fault_bail_pde_not_present); goto fail; } @@ -2470,7 +2470,7 @@ orig_gpte = gpte = linear_pg_table[l1_linear_offset(va)]; if ( unlikely(!(l1e_get_flags(gpte) & _PAGE_PRESENT)) ) { - SH_VVLOG("shadow_fault - EXIT: gpte not present (%lx)",gpte ); + SH_VVLOG("shadow_fault - EXIT: gpte not present (%lx)", gpte); perfc_incrc(shadow_fault_bail_pte_not_present); goto fail; } diff -Nru a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h --- a/xen/include/asm-x86/shadow.h 2005-04-21 21:07:44 -04:00 +++ b/xen/include/asm-x86/shadow.h 2005-04-21 21:07:44 -04:00 @@ -240,7 +240,7 @@ printk("DOM%uP%u: SH_LOG(%d): " _f "\n", \ current->domain->id , current->processor, __LINE__ , ## _a ) #else -#define SH_LOG(_f, _a...) +#define SH_LOG(_f, _a...) ((void)0) #endif #if SHADOW_VERBOSE_DEBUG @@ -248,7 +248,7 @@ printk("DOM%uP%u: SH_VLOG(%d): " _f "\n", \ current->domain->id, current->processor, __LINE__ , ## _a ) #else -#define SH_VLOG(_f, _a...) +#define SH_VLOG(_f, _a...) ((void)0) #endif #if SHADOW_VVERBOSE_DEBUG @@ -256,7 +256,7 @@ printk("DOM%uP%u: SH_VVLOG(%d): " _f "\n", \ current->domain->id, current->processor, __LINE__ , ## _a ) #else -#define SH_VVLOG(_f, _a...) +#define SH_VVLOG(_f, _a...) ((void)0) #endif #if SHADOW_VVVERBOSE_DEBUG @@ -264,7 +264,7 @@ printk("DOM%uP%u: SH_VVVLOG(%d): " _f "\n", \ current->domain->id, current->processor, __LINE__ , ## _a ) #else -#define SH_VVVLOG(_f, _a...) +#define SH_VVVLOG(_f, _a...) ((void)0) #endif #if FULLSHADOW_DEBUG @@ -272,7 +272,7 @@ printk("DOM%uP%u: FSH_LOG(%d): " _f "\n", \ current->domain->id, current->processor, __LINE__ , ## _a ) #else -#define FSH_LOG(_f, _a...) +#define FSH_LOG(_f, _a...) ((void)0) #endif _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |