Patchwork [2/3] target-ppc: Fix unused variable warning for FLUSH_ALL_TLBS

login
register
mail settings
Submitter Alexander Graf
Date Feb. 1, 2013, 12:53 a.m.
Message ID <1359680011-5506-3-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/217317/
State New
Headers show

Comments

Alexander Graf - Feb. 1, 2013, 12:53 a.m.
From: Andreas Färber <afaerber@suse.de>

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 target-ppc/mmu_helper.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/target-ppc/mmu_helper.c b/target-ppc/mmu_helper.c
index 0aee7a9..f190133 100644
--- a/target-ppc/mmu_helper.c
+++ b/target-ppc/mmu_helper.c
@@ -2260,8 +2260,9 @@  void helper_store_601_batu(CPUPPCState *env, uint32_t nr, target_ulong value)
 
 void helper_store_601_batl(CPUPPCState *env, uint32_t nr, target_ulong value)
 {
+#if !defined(FLUSH_ALL_TLBS)
     target_ulong mask;
-#if defined(FLUSH_ALL_TLBS)
+#else
     int do_inval;
 #endif