aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-04-16 19:13:11 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-05-02 17:24:50 +0200
commit4c386f8064ca3241a61341b5c5d5a70bbab496ab (patch)
tree2e2ab4f32c1b65f150fcdb40fd2d634736176d85 /target
parent19f4ed3652e0868dd840d3bfe70cfa2cf41936be (diff)
downloadqemu-4c386f8064ca3241a61341b5c5d5a70bbab496ab.zip
qemu-4c386f8064ca3241a61341b5c5d5a70bbab496ab.tar.gz
qemu-4c386f8064ca3241a61341b5c5d5a70bbab496ab.tar.bz2
Do not include sysemu/sysemu.h if it's not really necessary
Stop including sysemu/sysemu.h in files that don't need it. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210416171314.2074665-2-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target')
-rw-r--r--target/arm/cpu.c1
-rw-r--r--target/openrisc/sys_helper.c1
-rw-r--r--target/rx/helper.c1
-rw-r--r--target/s390x/cpu.c1
-rw-r--r--target/s390x/excp_helper.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index 0dd623e..4eb0d2f 100644
--- a/target/arm/cpu.c
+++ b/target/arm/cpu.c
@@ -36,7 +36,6 @@
#include "hw/loader.h"
#include "hw/boards.h"
#endif
-#include "sysemu/sysemu.h"
#include "sysemu/tcg.h"
#include "sysemu/hw_accel.h"
#include "kvm_arm.h"
diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c
index 41390d0..4867423 100644
--- a/target/openrisc/sys_helper.c
+++ b/target/openrisc/sys_helper.c
@@ -23,7 +23,6 @@
#include "exec/exec-all.h"
#include "exec/helper-proto.h"
#include "exception.h"
-#include "sysemu/sysemu.h"
#ifndef CONFIG_USER_ONLY
#include "hw/boards.h"
#endif
diff --git a/target/rx/helper.c b/target/rx/helper.c
index 3e380a9..db6b07e 100644
--- a/target/rx/helper.c
+++ b/target/rx/helper.c
@@ -21,7 +21,6 @@
#include "cpu.h"
#include "exec/log.h"
#include "exec/cpu_ldst.h"
-#include "sysemu/sysemu.h"
#include "hw/irq.h"
void rx_cpu_unpack_psw(CPURXState *env, uint32_t psw, int rte)
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c
index d35eb39..64455cf 100644
--- a/target/s390x/cpu.c
+++ b/target/s390x/cpu.c
@@ -40,7 +40,6 @@
#include "hw/s390x/pv.h"
#include "hw/boards.h"
#include "sysemu/arch_init.h"
-#include "sysemu/sysemu.h"
#include "sysemu/tcg.h"
#endif
#include "fpu/softfloat-helpers.h"
diff --git a/target/s390x/excp_helper.c b/target/s390x/excp_helper.c
index c48cd6b..20625c2 100644
--- a/target/s390x/excp_helper.c
+++ b/target/s390x/excp_helper.c
@@ -29,7 +29,6 @@
#include "exec/address-spaces.h"
#include "tcg_s390x.h"
#ifndef CONFIG_USER_ONLY
-#include "sysemu/sysemu.h"
#include "hw/s390x/s390_flic.h"
#include "hw/boards.h"
#endif