Move tcg_out_tlb_read into #ifdef CONFIG_SOFTMMU block to avoid compiler warning
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 20 Aug 2008 22:39:14 +0000 (22:39 +0000)
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 20 Aug 2008 22:39:14 +0000 (22:39 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5031 c046a42c-6fe2-441c-8c8c-71466251a162

tcg/ppc64/tcg-target.c

index a9d27d2..108132c 100644 (file)
@@ -528,7 +528,6 @@ static void *qemu_st_helpers[4] = {
     __stl_mmu,
     __stq_mmu,
 };
-#endif
 
 static void tcg_out_tlb_read (TCGContext *s, int r0, int r1, int r2,
                               int addr_reg, int s_bits, int offset)
@@ -576,6 +575,7 @@ static void tcg_out_tlb_read (TCGContext *s, int r0, int r1, int r2,
     }
 #endif
 }
+#endif
 
 static void tcg_out_qemu_ld (TCGContext *s, const TCGArg *args, int opc)
 {