[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 24/24] exec: Remove unnecessary inclusions of 'hw/core/cpu.h'
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 24/24] exec: Remove unnecessary inclusions of 'hw/core/cpu.h' |
Date: |
Thu, 18 Apr 2024 21:25:23 +0200 |
When "hw/core/cpu.h" is not required, remove it.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/exec/cpu-all.h | 1 -
include/exec/cpu-defs.h | 1 -
include/hw/boards.h | 1 -
include/hw/ppc/openpic.h | 1 -
include/sysemu/hw_accel.h | 1 -
5 files changed, 5 deletions(-)
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index cfbf51822c..03963442a0 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -21,7 +21,6 @@
#include "exec/cpu-common.h"
#include "exec/memory.h"
-#include "hw/core/cpu.h"
/* some important defines:
*
diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h
index 0dbef3010c..2b88db71a8 100644
--- a/include/exec/cpu-defs.h
+++ b/include/exec/cpu-defs.h
@@ -29,7 +29,6 @@
#include "exec/hwaddr.h"
#endif
#include "exec/memattrs.h"
-#include "hw/core/cpu.h"
#include "cpu-param.h"
diff --git a/include/hw/boards.h b/include/hw/boards.h
index 8b8f6d5c00..2daa23082f 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -9,7 +9,6 @@
#include "qapi/qapi-types-machine.h"
#include "qemu/module.h"
#include "qom/object.h"
-#include "hw/core/cpu.h"
#define TYPE_MACHINE_SUFFIX "-machine"
diff --git a/include/hw/ppc/openpic.h b/include/hw/ppc/openpic.h
index 9c6af8e207..8fe3a5902f 100644
--- a/include/hw/ppc/openpic.h
+++ b/include/hw/ppc/openpic.h
@@ -2,7 +2,6 @@
#define OPENPIC_H
#include "hw/sysbus.h"
-#include "hw/core/cpu.h"
#include "qom/object.h"
#define MAX_CPU 32
diff --git a/include/sysemu/hw_accel.h b/include/sysemu/hw_accel.h
index c71b77e71f..6aca3c6178 100644
--- a/include/sysemu/hw_accel.h
+++ b/include/sysemu/hw_accel.h
@@ -11,7 +11,6 @@
#ifndef QEMU_HW_ACCEL_H
#define QEMU_HW_ACCEL_H
-#include "hw/core/cpu.h"
#include "sysemu/kvm.h"
#include "sysemu/hvf.h"
#include "sysemu/whpx.h"
--
2.41.0
- Re: [PATCH 23/24] exec: Remove 'disas/disas.h' from 'exec/log.h', (continued)
- [PATCH 13/24] target/sparc: Replace abi_ulong by uint32_t for TARGET_ABI32, Philippe Mathieu-Daudé, 2024/04/18
- [PATCH 16/24] exec: Move GUEST_ADDR_MAX definition to 'cpu_ldst.h', Philippe Mathieu-Daudé, 2024/04/18
- [PATCH 18/24] plugins: Include missing 'qemu/bitmap.h' header, Philippe Mathieu-Daudé, 2024/04/18
- [PATCH 22/24] exec: Remove 'exec/tswap.h' from 'exec/cpu-all.h', Philippe Mathieu-Daudé, 2024/04/18
- [PATCH 24/24] exec: Remove unnecessary inclusions of 'hw/core/cpu.h',
Philippe Mathieu-Daudé <=
- [PATCH 20/24] hw/xtensa: Include missing 'exec/cpu-common.h' in 'bootparam.h', Philippe Mathieu-Daudé, 2024/04/18
- [PATCH 17/24] exec: Include missing 'qemu/log-for-trace.h' header in 'exec/log.h', Philippe Mathieu-Daudé, 2024/04/18
- Re: [PATCH 00/24] include/exec: Rework (part 2), Philippe Mathieu-Daudé, 2024/04/18