aboutsummaryrefslogtreecommitdiff
path: root/hw/riscv/spike.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/spike.c
parent3669282cde01809edac8c91f61da50da2a83b067 (diff)
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/spike.c')
-rw-r--r--hw/riscv/spike.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/riscv/spike.c b/hw/riscv/spike.c
index fead77f0c4..aae36f2cb4 100644
--- a/hw/riscv/spike.c
+++ b/hw/riscv/spike.c
@@ -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"