accel/tcg: Move clear_helper_retaddr to cpu loop
commitf920ffdd8ed6d0abb34fdf2bbb85926cfb40aef2
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 13 Sep 2021 20:01:07 +0000 (13 13:01 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 30 Oct 2021 16:52:04 +0000 (30 09:52 -0700)
tree32b3d41f43fa0464510ea9b2d0ba330b356c7c74
parent0fdbb7d2c1ecb761b985b176b9bb159d483d9514
accel/tcg: Move clear_helper_retaddr to cpu loop

Currently there are only two places that require we reset this
value before exiting to the main loop, but that will change.

Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cpu-exec.c
accel/tcg/user-exec.c