diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-05-29 17:45:12 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-05-29 17:45:12 +0100 |
commit | e0f224ec077d90c10288a4f73d01a264b0364e46 (patch) | |
tree | b1fa842c7f4dc37650113c0b5e35a8308dc3fab2 | |
parent | fe5aa1cfe22c71c80e544cf97741036cba0556d7 (diff) | |
download | qemu-e0f224ec077d90c10288a4f73d01a264b0364e46.zip qemu-e0f224ec077d90c10288a4f73d01a264b0364e46.tar.gz qemu-e0f224ec077d90c10288a4f73d01a264b0364e46.tar.bz2 |
target/arm/qmp: Include missing 'cpu.h' header
arm-qmp-cmds.c uses ARM_MAX_VQ, which is defined in "cpu.h".
Include the latter to avoid when refactoring unrelated headers:
target/arm/arm-qmp-cmds.c:83:19: error: use of undeclared identifier 'ARM_MAX_VQ'
83 | QEMU_BUILD_BUG_ON(ARM_MAX_VQ > 16);
| ^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-id: 20250513173928.77376-8-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | target/arm/arm-qmp-cmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/arm-qmp-cmds.c b/target/arm/arm-qmp-cmds.c index cca6b97..cefd235 100644 --- a/target/arm/arm-qmp-cmds.c +++ b/target/arm/arm-qmp-cmds.c @@ -30,6 +30,7 @@ #include "qapi/qapi-commands-misc-arm.h" #include "qobject/qdict.h" #include "qom/qom-qobject.h" +#include "cpu.h" static GICCapability *gic_cap_new(int version) { |