Skip to contentSkip to conversation

[5031] Move tcg_out_tlb_read into #ifdef CONFIG_SOFTMMU block to avoid compiler warning

Qemu-devel malc 1 participant 1 message Aug 20, 2008

lore
Share & tools
lore

malc

author
#0 lore raw

Revision: 5031

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5031
Author:   malc
Date:     2008-08-20 22:39:14 +0000 (Wed, 20 Aug 2008)

Log Message:
-----------
Move tcg_out_tlb_read into #ifdef CONFIG_SOFTMMU block to avoid compiler warning

Modified Paths:
--------------
trunk/tcg/ppc64/tcg-target.c

Modified: trunk/tcg/ppc64/tcg-target.c
===================================================================

tcg/ppc64/tcg-target.c +1 -1
@@ -528,7 +528,6 @@
     __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 @@
     }
 #endif
 }
+#endif
 
 static void tcg_out_qemu_ld (TCGContext *s, const TCGArg *args, int opc)
 {