target-ppc: Fix unused variable warning for FLUSH_ALL_TLBS
authorAndreas Färber <afaerber@suse.de>
Sun, 27 Jan 2013 03:32:01 +0000 (03:32 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Feb 2013 00:52:02 +0000 (01:52 +0100)
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/mmu_helper.c

index 0aee7a90633c1514741459ead5f58916e2137495..f1901334b14a19ee22ef5cc480e7166dc836e15d 100644 (file)
@@ -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