Skip to content

Commit

Permalink
target/helpers: Remove unnecessary 'qemu/main-loop.h' header
Browse files Browse the repository at this point in the history
"qemu/main-loop.h" declares functions related to QEMU's
main loop mutex, which these files don't access. Remove
the unused "qemu/main-loop.h" header.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-8-philmd@linaro.org>
  • Loading branch information
philmd committed Aug 31, 2023
1 parent 907a2af commit 73c1970
Show file tree
Hide file tree
Showing 22 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion target/loongarch/iocsr_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/

#include "qemu/osdep.h"
#include "qemu/main-loop.h"
#include "cpu.h"
#include "qemu/host-utils.h"
#include "exec/helper-proto.h"
Expand Down
1 change: 0 additions & 1 deletion target/loongarch/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include "qemu/osdep.h"
#include "qemu/log.h"
#include "qemu/main-loop.h"
#include "cpu.h"
#include "qemu/host-utils.h"
#include "exec/helper-proto.h"
Expand Down
1 change: 0 additions & 1 deletion target/mips/tcg/sysemu/lcsr_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

#include "qemu/osdep.h"
#include "qemu/main-loop.h"
#include "cpu.h"
#include "internal.h"
#include "qemu/host-utils.h"
Expand Down
1 change: 0 additions & 1 deletion target/nios2/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "cpu.h"
#include "exec/helper-proto.h"
#include "exec/exec-all.h"
#include "qemu/main-loop.h"

void helper_raise_exception(CPUNios2State *env, uint32_t index)
{
Expand Down
1 change: 0 additions & 1 deletion target/ppc/int_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "cpu.h"
#include "internal.h"
#include "qemu/host-utils.h"
#include "qemu/main-loop.h"
#include "qemu/log.h"
#include "exec/helper-proto.h"
#include "crypto/aes.h"
Expand Down
1 change: 0 additions & 1 deletion target/ppc/machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "mmu-hash64.h"
#include "migration/cpu.h"
#include "qapi/error.h"
#include "qemu/main-loop.h"
#include "kvm_ppc.h"
#include "power8-pmu.h"

Expand Down
1 change: 0 additions & 1 deletion target/ppc/mem_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "cpu.h"
#include "exec/exec-all.h"
#include "qemu/host-utils.h"
#include "qemu/main-loop.h"
#include "exec/helper-proto.h"
#include "helper_regs.h"
#include "exec/cpu_ldst.h"
Expand Down
1 change: 0 additions & 1 deletion target/ppc/mmu_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "exec/log.h"
#include "helper_regs.h"
#include "qemu/error-report.h"
#include "qemu/main-loop.h"
#include "qemu/qemu-print.h"
#include "internal.h"
#include "mmu-book3s-v3.h"
Expand Down
1 change: 0 additions & 1 deletion target/ppc/mmu_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "exec/log.h"
#include "helper_regs.h"
#include "qemu/error-report.h"
#include "qemu/main-loop.h"
#include "qemu/qemu-print.h"
#include "internal.h"
#include "mmu-book3s-v3.h"
Expand Down
1 change: 0 additions & 1 deletion target/ppc/power8-pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "exec/helper-proto.h"
#include "qemu/error-report.h"
#include "qemu/timer.h"
#include "qemu/main-loop.h"
#include "hw/ppc/ppc.h"
#include "power8-pmu.h"

Expand Down
1 change: 0 additions & 1 deletion target/ppc/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "tcg/tcg-op.h"
#include "tcg/tcg-op-gvec.h"
#include "qemu/host-utils.h"
#include "qemu/main-loop.h"

#include "exec/helper-proto.h"
#include "exec/helper-gen.h"
Expand Down
1 change: 0 additions & 1 deletion target/riscv/csr.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "cpu.h"
#include "pmu.h"
#include "time_helper.h"
#include "qemu/main-loop.h"
#include "exec/exec-all.h"
#include "exec/tb-flush.h"
#include "sysemu/cpu-timers.h"
Expand Down
1 change: 0 additions & 1 deletion target/riscv/m128_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#include "qemu/osdep.h"
#include "cpu.h"
#include "qemu/main-loop.h"
#include "exec/exec-all.h"
#include "exec/helper-proto.h"

Expand Down
1 change: 0 additions & 1 deletion target/riscv/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "qemu/osdep.h"
#include "cpu.h"
#include "internals.h"
#include "qemu/main-loop.h"
#include "exec/exec-all.h"
#include "exec/cpu_ldst.h"
#include "exec/helper-proto.h"
Expand Down
1 change: 0 additions & 1 deletion target/riscv/pmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/

#include "cpu.h"
#include "qemu/main-loop.h"

bool riscv_pmu_ctr_monitor_instructions(CPURISCVState *env,
uint32_t target_ctr);
Expand Down
1 change: 0 additions & 1 deletion target/s390x/tcg/crypto_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
*/

#include "qemu/osdep.h"
#include "qemu/main-loop.h"
#include "qemu/guest-random.h"
#include "s390x-internal.h"
#include "tcg_s390x.h"
Expand Down
1 change: 0 additions & 1 deletion target/s390x/tcg/misc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include "qemu/osdep.h"
#include "qemu/cutils.h"
#include "qemu/main-loop.h"
#include "cpu.h"
#include "s390x-internal.h"
#include "qemu/host-utils.h"
Expand Down
1 change: 0 additions & 1 deletion target/xtensa/dbg_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "qemu/osdep.h"
#include "qemu/log.h"
#include "qemu/main-loop.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "qemu/host-utils.h"
Expand Down
1 change: 0 additions & 1 deletion target/xtensa/fpu_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "qemu/osdep.h"
#include "qemu/log.h"
#include "qemu/main-loop.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "qemu/host-utils.h"
Expand Down
1 change: 0 additions & 1 deletion target/xtensa/mmu_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "qemu/osdep.h"
#include "qemu/log.h"
#include "qemu/main-loop.h"
#include "qemu/qemu-print.h"
#include "qemu/units.h"
#include "cpu.h"
Expand Down
1 change: 0 additions & 1 deletion target/xtensa/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
*/

#include "qemu/osdep.h"
#include "qemu/main-loop.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "qemu/host-utils.h"
Expand Down
1 change: 0 additions & 1 deletion target/xtensa/win_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "qemu/osdep.h"
#include "qemu/log.h"
#include "qemu/main-loop.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "qemu/host-utils.h"
Expand Down

0 comments on commit 73c1970

Please sign in to comment.