]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/openrisc: Always exit after mtspr npc
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 24 Oct 2022 12:54:15 +0000 (22:54 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 31 Oct 2022 21:31:41 +0000 (08:31 +1100)
commit5813c5c74a755fd0c1b10be38c6fdf5c54c468e4
tree2280f346d1eb0f48c5a7c30e270397a44cfbddac
parentf484f213c9f4ae1cd30ebdaadc7b539d745d39fb
target/openrisc: Always exit after mtspr npc

We have called cpu_restore_state asserting will_exit.
Do not go back on that promise.  This affects icount.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/openrisc/sys_helper.c