diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-07-30 11:59:46 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-08-26 17:02:00 +0100 |
commit | 7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4 (patch) | |
tree | cf0ed7a7b15c854005c849bd5308155d7b812bd4 /target | |
parent | 3669282cde01809edac8c91f61da50da2a83b067 (diff) | |
download | qemu-7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4.zip qemu-7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4.tar.gz qemu-7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4.tar.bz2 |
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 'target')
-rw-r--r-- | target/ppc/cpu_init.c | 1 | ||||
-rw-r--r-- | target/s390x/cpu-sysemu.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c index 505a0ed..319a272 100644 --- a/target/ppc/cpu_init.c +++ b/target/ppc/cpu_init.c @@ -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" diff --git a/target/s390x/cpu-sysemu.c b/target/s390x/cpu-sysemu.c index df2c6bf..5471e01 100644 --- a/target/s390x/cpu-sysemu.c +++ b/target/s390x/cpu-sysemu.c @@ -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" |