diff options
Diffstat (limited to 'hw/misc/mips_itu.c')
-rw-r--r-- | hw/misc/mips_itu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/misc/mips_itu.c b/hw/misc/mips_itu.c index ef935b51a8..c84a48bbb7 100644 --- a/hw/misc/mips_itu.c +++ b/hw/misc/mips_itu.c @@ -174,10 +174,9 @@ static void wake_blocked_threads(ITCStorageCell *c) static void QEMU_NORETURN block_thread_and_exit(ITCStorageCell *c) { c->blocked_threads |= 1ULL << current_cpu->cpu_index; - cpu_restore_state(current_cpu, current_cpu->mem_io_pc); current_cpu->halted = 1; current_cpu->exception_index = EXCP_HLT; - cpu_loop_exit(current_cpu); + cpu_loop_exit_restore(current_cpu, current_cpu->mem_io_pc); } /* ITC Bypass View */ |