target/s390x/tcg: Include missing '*cpu.h' headers
The "hw/core/cpu.h" header (declaring run_on_cpu_data) and "target/s390x/cpu.h" are indirectly included. Include them explicitly otherwise we get when refactoring unrelated headers: ../target/s390x/tcg/tcg_s390x.h:17:44: error: unknown type name 'CPUS390XState'; did you mean 'CPUSH4State'? 17 | G_NORETURN void tcg_s390_program_interrupt(CPUS390XState *env, | ^~~~~~~~~~~~~ | CPUSH4State Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20260313062055.2188-18-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Mar 13, 2026 at 06:05 UTC
bc941faf60e62d73035756ccba851fa497aa47b4
1 file changed
+3
target/s390x/tcg/tcg_s390x.h
+3
@@ -13,6 +13,9 @@
13
#ifndef TCG_S390X_H
14
#define TCG_S390X_H
15
16
+#include "target/s390x/cpu.h"
17
+#include "hw/core/cpu.h"
18
+
19
void tcg_s390_tod_updated(CPUState *cs, run_on_cpu_data opaque);
20
G_NORETURN void tcg_s390_program_interrupt(CPUS390XState *env,
21
uint32_t code, uintptr_t ra);