tcg: Initialize return value after exit_atomic
Users of tcg_gen_atomic_cmpxchg and do_atomic_op rightfully utilize the output. Even though this code is dead, it gets translated, and without the initialization we encounter a tcg_error. Reported-by: NNikunj A Dadhania <nikunj@linux.vnet.ibm.com> Tested-by: NNikunj A Dadhania <nikunj@linux.vnet.ibm.com> Tested-by: NPeter Maydell <peter.maydell@linaro.org> Signed-off-by: NRichard Henderson <rth@twiddle.net>
Showing
想要评论请 注册 或 登录