qemu-patch-raspberry4/target-ppc
Blue Swirl 577f25a5eb ppc: avoid write only variables
Compiling with GCC 4.6.0 20100925 produced warnings:
/src/qemu/target-ppc/op_helper.c: In function 'helper_icbi':
/src/qemu/target-ppc/op_helper.c:351:14: error: variable 'tmp' set but not used [-Werror=unused-but-set-variable]
/src/qemu/target-ppc/op_helper.c: In function 'do_6xx_tlb':
/src/qemu/target-ppc/op_helper.c:3805:28: error: variable 'EPN' set but not used [-Werror=unused-but-set-variable]
/src/qemu/target-ppc/op_helper.c: In function 'do_74xx_tlb':
/src/qemu/target-ppc/op_helper.c:3838:28: error: variable 'EPN' set but not used [-Werror=unused-but-set-variable]

Fix by adding a dummy cast so that the variable is not unused. Delete tmp.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-10-13 18:43:20 +00:00
..
cpu.h ppc: remove video.x 2010-10-13 18:38:07 +00:00
exec.h move cpu_pc_from_tb to target-*/exec.h 2010-07-03 09:48:12 +03:00
helper.c ppc: remove video.x 2010-10-13 18:38:07 +00:00
helper.h target-ppc: add vexptefp instruction 2010-07-13 18:18:32 +02:00
helper_regs.h
kvm.c KVM: PPC: Add level based interrupt logic 2010-09-05 11:50:48 +02:00
kvm_ppc.c
kvm_ppc.h KVM: PPC: Add level based interrupt logic 2010-09-05 11:50:48 +02:00
machine.c
mfrom_table.c
mfrom_table_gen.c
op_helper.c ppc: avoid write only variables 2010-10-13 18:43:20 +00:00
STATUS
translate.c PPC: Enable hint bits for lwarx/ldarx 2010-09-15 16:18:27 +02:00
translate_init.c powerpc: Add a ppc-440x5 Xilinx model 2010-09-30 18:53:26 +02:00