]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
arch_init.h: Don't include arch_init.h unnecessarily
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 30 Jul 2021 10:59:46 +0000 (11:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Aug 2021 16:02:00 +0000 (17:02 +0100)
arch_init.h only defines the QEMU_ARCH_* enumeration and the
arch_type global. Don't include it in files that don't use those.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210730105947.28215-8-peter.maydell@linaro.org

14 files changed:
blockdev.c
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/mips/jazz.c
hw/mips/malta.c
hw/ppc/prep.c
hw/riscv/sifive_e.c
hw/riscv/sifive_u.c
hw/riscv/spike.c
hw/riscv/virt.c
monitor/qmp-cmds.c
target/ppc/cpu_init.c
target/s390x/cpu-sysemu.c

index 3d8ac368a199ad933a7b542cc06a29e0cb37abb7..e79c5f3b5e8cf743a7ab87845cdeb83a10aba86c 100644 (file)
@@ -56,7 +56,6 @@
 #include "sysemu/iothread.h"
 #include "block/block_int.h"
 #include "block/trace.h"
-#include "sysemu/arch_init.h"
 #include "sysemu/runstate.h"
 #include "sysemu/replay.h"
 #include "qemu/cutils.h"
index c2b9d62a358f7b9d25dc91ff85e62bbfcafe62a2..102b2239468963882ae9ef4e5d3867e36e0d2193 100644 (file)
@@ -65,7 +65,6 @@
 #include "hw/xen/start_info.h"
 #include "ui/qemu-spice.h"
 #include "exec/memory.h"
-#include "sysemu/arch_init.h"
 #include "qemu/bitmap.h"
 #include "qemu/config-file.h"
 #include "qemu/error-report.h"
index 30b8bd6ea92dc2dfbaa8d9759ec2aa40244040e7..1bc30167acc0a259a8d698af1e004feac159f73b 100644 (file)
@@ -43,7 +43,6 @@
 #include "sysemu/kvm.h"
 #include "hw/kvm/clock.h"
 #include "hw/sysbus.h"
-#include "sysemu/arch_init.h"
 #include "hw/i2c/smbus_eeprom.h"
 #include "hw/xen/xen-x86.h"
 #include "exec/memory.h"
index 04b4a4788d75bbed294c01174a87cc48efbac4ee..eeb0b185b11872339d9b9df32d05effbb9fb5704 100644 (file)
@@ -31,7 +31,6 @@
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "hw/loader.h"
-#include "sysemu/arch_init.h"
 #include "hw/i2c/smbus_eeprom.h"
 #include "hw/rtc/mc146818rtc.h"
 #include "sysemu/kvm.h"
index d6183e18821a388ab42f55241781e9335e2f1ff1..f5a26e174d585d0dbfafd1d3d12da4aa54f36f49 100644 (file)
@@ -35,7 +35,6 @@
 #include "hw/isa/isa.h"
 #include "hw/block/fdc.h"
 #include "sysemu/sysemu.h"
-#include "sysemu/arch_init.h"
 #include "hw/boards.h"
 #include "net/net.h"
 #include "hw/scsi/esp.h"
index 7dcf175d726c7e16b15ddcd9d2dadf756d8e630d..b770b8d36718c26ffe734c5debfe07432ce51663 100644 (file)
@@ -38,7 +38,6 @@
 #include "hw/mips/mips.h"
 #include "hw/mips/cpudevs.h"
 #include "hw/pci/pci.h"
-#include "sysemu/arch_init.h"
 #include "qemu/log.h"
 #include "hw/mips/bios.h"
 #include "hw/ide.h"
index acfc2a91d8e3adf07d79ba7c56fb675280324806..25a2e86b4217f874765aca60c4be46ce02f1b18b 100644 (file)
@@ -40,7 +40,6 @@
 #include "hw/rtc/mc146818rtc.h"
 #include "hw/isa/pc87312.h"
 #include "hw/qdev-properties.h"
-#include "sysemu/arch_init.h"
 #include "sysemu/kvm.h"
 #include "sysemu/reset.h"
 #include "trace.h"
index ddc658c8d683adee8f92251b990fce9b76ed36da..5b7b245e1f336b2cd937e386fab7700e3d666757 100644 (file)
@@ -45,7 +45,6 @@
 #include "hw/intc/sifive_plic.h"
 #include "hw/misc/sifive_e_prci.h"
 #include "chardev/char.h"
-#include "sysemu/arch_init.h"
 #include "sysemu/sysemu.h"
 
 static const MemMapEntry sifive_e_memmap[] = {
index 87bbd10b211accebcd8c45c119747979052bfe74..6cc1a62b0f702b40276e25e0f17b550662f81916 100644 (file)
@@ -55,7 +55,6 @@
 #include "hw/intc/sifive_plic.h"
 #include "chardev/char.h"
 #include "net/eth.h"
-#include "sysemu/arch_init.h"
 #include "sysemu/device_tree.h"
 #include "sysemu/runstate.h"
 #include "sysemu/sysemu.h"
index fead77f0c4883d0744c3da928e0aac1d9bbbecf0..aae36f2cb4d133c33244be5ed2b1d2d7ccee47cc 100644 (file)
@@ -37,7 +37,6 @@
 #include "hw/char/riscv_htif.h"
 #include "hw/intc/sifive_clint.h"
 #include "chardev/char.h"
-#include "sysemu/arch_init.h"
 #include "sysemu/device_tree.h"
 #include "sysemu/sysemu.h"
 
index 4a3cd2599a5e339797f0cae0b42498333894cba4..0e55411045a7b41a93ba47a36f1d26bffb72e892 100644 (file)
@@ -36,7 +36,6 @@
 #include "hw/intc/sifive_plic.h"
 #include "hw/misc/sifive_test.h"
 #include "chardev/char.h"
-#include "sysemu/arch_init.h"
 #include "sysemu/device_tree.h"
 #include "sysemu/sysemu.h"
 #include "hw/pci/pci.h"
index 9ddb9352e65d4218a8fba35648b57ad7a2c71e5d..5c0d5e116b906f0a0609af11f8169aed74a5d5e4 100644 (file)
@@ -27,7 +27,6 @@
 #include "sysemu/kvm.h"
 #include "sysemu/runstate.h"
 #include "sysemu/runstate-action.h"
-#include "sysemu/arch_init.h"
 #include "sysemu/blockdev.h"
 #include "sysemu/block-backend.h"
 #include "qapi/error.h"
index 505a0ed6ac0991c75735cfdb5b12dd1e98f1024b..319a272d4c9415b260f4199b8bc1ea3d9badfaea 100644 (file)
@@ -22,7 +22,6 @@
 #include "disas/dis-asm.h"
 #include "exec/gdbstub.h"
 #include "kvm_ppc.h"
-#include "sysemu/arch_init.h"
 #include "sysemu/cpus.h"
 #include "sysemu/hw_accel.h"
 #include "sysemu/tcg.h"
index df2c6bf694182d2bf641a755800821def2981add..5471e01ee828acf20d095f895b82e0eca07f2b70 100644 (file)
@@ -34,7 +34,6 @@
 
 #include "hw/s390x/pv.h"
 #include "hw/boards.h"
-#include "sysemu/arch_init.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/tcg.h"
 #include "hw/core/sysemu-cpu-ops.h"