From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBA4c-0007YA-Kj for qemu-devel@nongnu.org; Fri, 12 Dec 2008 10:37:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBA4a-0007WM-Tk for qemu-devel@nongnu.org; Fri, 12 Dec 2008 10:37:01 -0500 Received: from [199.232.76.173] (port=38076 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBA4a-0007WE-Ir for qemu-devel@nongnu.org; Fri, 12 Dec 2008 10:37:00 -0500 Received: from mx2.redhat.com ([66.187.237.31]:58618) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LBA4a-00055f-34 for qemu-devel@nongnu.org; Fri, 12 Dec 2008 10:37:00 -0500 From: Eduardo Habkost Date: Fri, 12 Dec 2008 13:09:00 -0200 Message-Id: <1229094550-2022-22-git-send-email-ehabkost@redhat.com> In-Reply-To: <1229094550-2022-1-git-send-email-ehabkost@redhat.com> References: <1229094550-2022-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 21/31] target-ppc/helper.c: convert commented-out debug code to LOG_SWTLB Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Eduardo Habkost Replace '#if defined (DEBUG_SOFTWARE_TLB) && 0' with commented-out LOG_SWTLB, just for completeness. Signed-off-by: Eduardo Habkost --- 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