[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/24] hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' hea
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 10/24] hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' header |
Date: |
Mon, 11 Dec 2023 22:19:47 +0100 |
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>
---
hw/misc/mips_itu.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/misc/mips_itu.c b/hw/misc/mips_itu.c
index 5a83ccc4e8..37aea0e737 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.
--
2.41.0
- [PATCH 03/24] target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h', (continued)
- [PATCH 03/24] target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h', Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 04/24] accel: Include missing 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 05/24] semihosting/uaccess: Avoid including 'cpu.h', Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 06/24] semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 07/24] host/load-extract: Include missing 'qemu/atomic.h' and 'qemu/int128.h', Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 08/24] host/atomic128: Include missing 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 09/24] hw/ppc/spapr_hcall: Remove unused 'exec/exec-all.h' included header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 10/24] hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' header,
Philippe Mathieu-Daudé <=
- [PATCH 11/24] hw/s390x/ipl: Remove unused 'exec/exec-all.h' included header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 12/24] target/i386: Include missing 'exec/exec-all.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 13/24] accel/tcg: Include missing 'hw/core/cpu.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 14/24] gdbstub: Include missing 'hw/core/cpu.h' header, Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 15/24] exec/cpu-all: Remove unused headers, Philippe Mathieu-Daudé, 2023/12/11
- Re: [PATCH 00/24] exec: Rework of various headers (user focused), Philippe Mathieu-Daudé, 2023/12/11
- [PATCH 16/24] exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion, Philippe Mathieu-Daudé, 2023/12/11