@samitouri / QOSamiQemu / commits / 68ca5a7a69

target/sparc: Include missing 'accel/tcg/cpu-ops.h' header in cpu.c

target/sparc/cpu.c implement a TCGCPUOps structure, which is defined in "accel/tcg/cpu-ops.h": 1040 static const TCGCPUOps sparc_tcg_ops = { ... While this header is currently included indirectly, make the inclusion explicit to avoid issue when refactoring unrelated headers. Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260617160426.64461-2-philmd@oss.qualcomm.com>

Philippe Mathieu-Daudé committed Jun 17, 2026 at 17:56 UTC 68ca5a7a695d2585f7e259c57366e67658612846
1 file changed +1
target/sparc/cpu.c
+1
@@ -23,6 +23,7 @@
23 #include "qemu/module.h"
24 #include "qemu/qemu-print.h"
25 #include "accel/tcg/cpu-mmu-index.h"
26 +#include "accel/tcg/cpu-ops.h"
27 #include "exec/translation-block.h"
28 #include "hw/core/qdev-properties.h"
29 #include "qapi/visitor.h"