qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 21/31] target-ppc/helper.c: convert commented-out de


From: Eduardo Habkost
Subject: [Qemu-devel] [PATCH 21/31] target-ppc/helper.c: convert commented-out debug code to LOG_SWTLB
Date: Fri, 12 Dec 2008 13:09:00 -0200

Replace '#if defined (DEBUG_SOFTWARE_TLB) && 0' with commented-out
LOG_SWTLB, just for completeness.

Signed-off-by: Eduardo Habkost <address@hidden>
---
 target-ppc/helper.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index 6e0123e..85b8a0d 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -310,11 +310,7 @@ static always_inline void ppc6xx_tlb_invalidate_all 
(CPUState *env)
     ppc6xx_tlb_t *tlb;
     int nr, max;
 
-#if defined (DEBUG_SOFTWARE_TLB) && 0
-    if (loglevel != 0) {
-        fprintf(logfile, "Invalidate all TLBs\n");
-    }
-#endif
+    //LOG_SWTLB("Invalidate all TLBs\n");
     /* Invalidate all defined software TLB */
     max = env->nb_tlb;
     if (env->id_tlbs == 1)
-- 
1.5.5.GIT





reply via email to

[Prev in Thread] Current Thread [Next in Thread]