diff options
Diffstat (limited to 'target/s390x/diag.c')
-rw-r--r-- | target/s390x/diag.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/s390x/diag.c b/target/s390x/diag.c index 10ac845bcd..e6b5e6de37 100644 --- a/target/s390x/diag.c +++ b/target/s390x/diag.c @@ -14,6 +14,7 @@ #include "qemu/osdep.h" #include "cpu.h" +#include "internal.h" #include "exec/address-spaces.h" #include "exec/exec-all.h" #include "hw/watchdog/wdt_diag288.h" @@ -39,6 +40,13 @@ static int modified_clear_reset(S390CPU *cpu) return 0; } +static inline void s390_do_cpu_reset(CPUState *cs, run_on_cpu_data arg) +{ + S390CPUClass *scc = S390_CPU_GET_CLASS(cs); + + scc->cpu_reset(cs); +} + static int load_normal_reset(S390CPU *cpu) { S390CPUClass *scc = S390_CPU_GET_CLASS(cpu); |