summary refs log tree commit diff stats
path: root/hw/riscv/virt.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-07-30 11:59:46 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-08-26 17:02:00 +0100
commit7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4 (patch)
treecf0ed7a7b15c854005c849bd5308155d7b812bd4 /hw/riscv/virt.c
parent3669282cde01809edac8c91f61da50da2a83b067 (diff)
downloadfocaccia-qemu-7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4.tar.gz
focaccia-qemu-7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4.zip
arch_init.h: Don't include arch_init.h unnecessarily
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
Diffstat (limited to 'hw/riscv/virt.c')
-rw-r--r--hw/riscv/virt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c
index 4a3cd2599a..0e55411045 100644
--- a/hw/riscv/virt.c
+++ b/hw/riscv/virt.c
@@ -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"