Commit a2a546b3fcd2db1f9c43962b03414bd0c4e85f69

Authored by malc
1 parent 61ada15d

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
Showing 1 changed file with 1 additions and 1 deletions
tcg/ppc64/tcg-target.c
@@ -528,7 +528,6 @@ static void *qemu_st_helpers[4] = { @@ -528,7 +528,6 @@ static void *qemu_st_helpers[4] = {
528 __stl_mmu, 528 __stl_mmu,
529 __stq_mmu, 529 __stq_mmu,
530 }; 530 };
531 -#endif  
532 531
533 static void tcg_out_tlb_read (TCGContext *s, int r0, int r1, int r2, 532 static void tcg_out_tlb_read (TCGContext *s, int r0, int r1, int r2,
534 int addr_reg, int s_bits, int offset) 533 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, @@ -576,6 +575,7 @@ static void tcg_out_tlb_read (TCGContext *s, int r0, int r1, int r2,
576 } 575 }
577 #endif 576 #endif
578 } 577 }
  578 +#endif
579 579
580 static void tcg_out_qemu_ld (TCGContext *s, const TCGArg *args, int opc) 580 static void tcg_out_qemu_ld (TCGContext *s, const TCGArg *args, int opc)
581 { 581 {