aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-12-12 12:36:38 +0100
committerThomas Huth <thuth@redhat.com>2023-12-20 10:29:23 +0100
commitb5570da73445aab7f67f03650d787f611f9b9ce9 (patch)
treee46edaac8a77daab6198d4395f11c6f1efec1359
parent43562e1882014c4ad1ec2c319e2c054d84c6295a (diff)
downloadqemu-b5570da73445aab7f67f03650d787f611f9b9ce9.zip
qemu-b5570da73445aab7f67f03650d787f611f9b9ce9.tar.gz
qemu-b5570da73445aab7f67f03650d787f611f9b9ce9.tar.bz2
hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' header
mips_itu.c only requires declarations from "hw/core/cpu.h" and "cpu.h". Avoid including the huge "exec/exec-all.h" header. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231212113640.30287-3-philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--hw/misc/mips_itu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/misc/mips_itu.c b/hw/misc/mips_itu.c
index 5a83ccc..37aea0e 100644
--- a/hw/misc/mips_itu.c
+++ b/hw/misc/mips_itu.c
@@ -22,9 +22,10 @@
#include "qemu/log.h"
#include "qemu/module.h"
#include "qapi/error.h"
-#include "exec/exec-all.h"
+#include "hw/core/cpu.h"
#include "hw/misc/mips_itu.h"
#include "hw/qdev-properties.h"
+#include "target/mips/cpu.h"
#define ITC_TAG_ADDRSPACE_SZ (ITC_ADDRESSMAP_NUM * 8)
/* Initialize as 4kB area to fit all 32 cells with default 128B grain.