]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm/qmp: Include missing 'cpu.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 29 May 2025 16:45:12 +0000 (17:45 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 29 May 2025 16:45:12 +0000 (17:45 +0100)
commite0f224ec077d90c10288a4f73d01a264b0364e46
treeb1fa842c7f4dc37650113c0b5e35a8308dc3fab2
parentfe5aa1cfe22c71c80e544cf97741036cba0556d7
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>
target/arm/arm-qmp-cmds.c