Skip to content
Commit 79b1af90 authored by Richard Henderson's avatar Richard Henderson
Browse files

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: default avatarNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Tested-by: default avatarNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Tested-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
parent 51b9d495
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment