aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc64
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-20 22:39:14 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-20 22:39:14 +0000
commita2a546b3fcd2db1f9c43962b03414bd0c4e85f69 (patch)
tree42a0b8b2265c98ca8f9bc3d3707363e12c87c39b /tcg/ppc64
parent61ada15d5f282a1218f0c11103175e6dac4acf45 (diff)
Move tcg_out_tlb_read into #ifdef CONFIG_SOFTMMU block to avoid compiler warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5031 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/ppc64')
-rw-r--r--tcg/ppc64/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index a9d27d2810..108132cfa5 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -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)
{