summaryrefslogtreecommitdiff
path: root/tcg
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
commite7aa88611b03713414b12befc1034b0a1fb35e52 (patch)
tree42a0b8b2265c98ca8f9bc3d3707363e12c87c39b /tcg
parent9515426ac443ffed66216b407b6acafa220f8266 (diff)
downloadqemu-e7aa88611b03713414b12befc1034b0a1fb35e52.tar.gz
qemu-e7aa88611b03713414b12befc1034b0a1fb35e52.tar.bz2
qemu-e7aa88611b03713414b12befc1034b0a1fb35e52.zip
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')
-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)
{