diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-10-24 23:09:57 +1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-11-01 08:31:41 +1100 |
commit | 3d419a4dd227f174447e0b3978028a1cd52ccc5e (patch) | |
tree | b45b25a792e4d104e588b26bf0d42e29ea3a3b63 /target/nios2 | |
parent | cc30dc441b44ad15f4adfb13d9a68cba6fa39a23 (diff) | |
download | qemu-3d419a4dd227f174447e0b3978028a1cd52ccc5e.zip qemu-3d419a4dd227f174447e0b3978028a1cd52ccc5e.tar.gz qemu-3d419a4dd227f174447e0b3978028a1cd52ccc5e.tar.bz2 |
accel/tcg: Remove will_exit argument from cpu_restore_state
The value passed is always true, and if the target's
synchronize_from_tb hook is non-trivial, not exiting
may be erroneous.
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/nios2')
-rw-r--r-- | target/nios2/op_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/nios2/op_helper.c b/target/nios2/op_helper.c index 2e30d0a..0aaf33f 100644 --- a/target/nios2/op_helper.c +++ b/target/nios2/op_helper.c @@ -40,7 +40,7 @@ void nios2_cpu_loop_exit_advance(CPUNios2State *env, uintptr_t retaddr) * Do this here, rather than in restore_state_to_opc(), * lest we affect QEMU internal exceptions, like EXCP_DEBUG. */ - cpu_restore_state(cs, retaddr, true); + cpu_restore_state(cs, retaddr); env->pc += 4; cpu_loop_exit(cs); } |