aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-05-29 17:45:12 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-05-29 17:45:12 +0100
commitc42300ef71ba103a9bf67ca64cb94d5d9b633175 (patch)
treef581b44d8e186bd13624e056eaf47ad690fbf32b
parent3d28b2ce00e8b5e74e1f5cbba13cf306b8360762 (diff)
downloadqemu-c42300ef71ba103a9bf67ca64cb94d5d9b633175.zip
qemu-c42300ef71ba103a9bf67ca64cb94d5d9b633175.tar.gz
qemu-c42300ef71ba103a9bf67ca64cb94d5d9b633175.tar.bz2
target/arm/hvf: Include missing 'cpu-qom.h' header
ARMCPU typedef is declared in "cpu-qom.h". Include it in order to avoid when refactoring unrelated headers: target/arm/hvf_arm.h:23:41: error: unknown type name 'ARMCPU' 23 | void hvf_arm_set_cpu_features_from_host(ARMCPU *cpu); | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20250513173928.77376-10-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target/arm/hvf_arm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/hvf_arm.h b/target/arm/hvf_arm.h
index 7a44e09..ea82f26 100644
--- a/target/arm/hvf_arm.h
+++ b/target/arm/hvf_arm.h
@@ -11,7 +11,7 @@
#ifndef QEMU_HVF_ARM_H
#define QEMU_HVF_ARM_H
-#include "cpu.h"
+#include "target/arm/cpu-qom.h"
/**
* hvf_arm_init_debug() - initialize guest debug capabilities