Commit 68ca5a7a69 for qemu.org
commit 68ca5a7a695d2585f7e259c57366e67658612846
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date: Wed Jun 17 17:56:01 2026 +0200
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>
diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c
index 3df199ada7..13ebb122a3 100644
--- a/target/sparc/cpu.c
+++ b/target/sparc/cpu.c
@@ -23,6 +23,7 @@
#include "qemu/module.h"
#include "qemu/qemu-print.h"
#include "accel/tcg/cpu-mmu-index.h"
+#include "accel/tcg/cpu-ops.h"
#include "exec/translation-block.h"
#include "hw/core/qdev-properties.h"
#include "qapi/visitor.h"