aboutsummaryrefslogtreecommitdiff
path: root/softmmu
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-04-16 19:13:13 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-05-02 17:24:51 +0200
commit2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1 (patch)
tree0e81654d30815d42fb6bb95105a7e2f3e6ebc1b1 /softmmu
parentead62c75f618c072a3a18221fd03ae99ae923cca (diff)
Do not include cpu.h if it's not really necessary
Stop including cpu.h in files that don't need it. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210416171314.2074665-4-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'softmmu')
-rw-r--r--softmmu/arch_init.c1
-rw-r--r--softmmu/memory.c1
-rw-r--r--softmmu/memory_mapping.c1
-rw-r--r--softmmu/physmem.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/softmmu/arch_init.c b/softmmu/arch_init.c
index 8471711c54..f09bab830c 100644
--- a/softmmu/arch_init.c
+++ b/softmmu/arch_init.c
@@ -22,7 +22,6 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
-#include "cpu.h"
#include "sysemu/arch_init.h"
#include "hw/pci/pci.h"
#include "hw/audio/soundhw.h"
diff --git a/softmmu/memory.c b/softmmu/memory.c
index d4493ef9e4..a62816647b 100644
--- a/softmmu/memory.c
+++ b/softmmu/memory.c
@@ -16,7 +16,6 @@
#include "qemu/osdep.h"
#include "qemu/log.h"
#include "qapi/error.h"
-#include "cpu.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
#include "qapi/visitor.h"
diff --git a/softmmu/memory_mapping.c b/softmmu/memory_mapping.c
index 18d0b8067c..e7af276546 100644
--- a/softmmu/memory_mapping.c
+++ b/softmmu/memory_mapping.c
@@ -14,7 +14,6 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
-#include "cpu.h"
#include "sysemu/memory_mapping.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
diff --git a/softmmu/physmem.c b/softmmu/physmem.c
index 7ed276b9b5..1821882614 100644
--- a/softmmu/physmem.c
+++ b/softmmu/physmem.c
@@ -23,7 +23,6 @@
#include "qemu/cutils.h"
#include "qemu/cacheflush.h"
-#include "cpu.h"
#ifdef CONFIG_TCG
#include "hw/core/tcg-cpu-ops.h"