From: Philippe Mathieu-Daudé Date: Thu, 24 Apr 2025 08:18:58 +0000 (+0200) Subject: target/hexagon: Include missing 'accel/tcg/getpc.h' X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f56159e82885bb7cbbe5d28698a486c7ccbfb2ca;p=thirdparty%2Fqemu.git target/hexagon: Include missing 'accel/tcg/getpc.h' Since the macros.h headers call GETPC(), they need to include "accel/tcg/getpc.h", which defines it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Mark Cave-Ayland Reviewed-by: Brian Cain Message-Id: <20250424094653.35932-9-philmd@linaro.org> --- diff --git a/target/hexagon/macros.h b/target/hexagon/macros.h index e5eb31e671..9ba9be408d 100644 --- a/target/hexagon/macros.h +++ b/target/hexagon/macros.h @@ -21,6 +21,7 @@ #include "cpu.h" #include "hex_regs.h" #include "reg_fields.h" +#include "accel/tcg/getpc.h" #define GET_FIELD(FIELD, REGIN) \ fEXTRACTU_BITS(REGIN, reg_field_info[FIELD].width, \ diff --git a/target/hexagon/mmvec/macros.h b/target/hexagon/mmvec/macros.h index bcd4a1e897..c1a88392c0 100644 --- a/target/hexagon/mmvec/macros.h +++ b/target/hexagon/mmvec/macros.h @@ -21,6 +21,7 @@ #include "qemu/host-utils.h" #include "arch.h" #include "mmvec/system_ext_mmvec.h" +#include "accel/tcg/getpc.h" #ifndef QEMU_GENERATE #define VdV (*(MMVector *restrict)(VdV_void))