summary refs log tree commit diff stats
path: root/hw/i2c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-01-07 10:12:51 -0800
committerRichard Henderson <richard.henderson@linaro.org>2023-01-16 10:14:12 -1000
commit61710a7e23a63546da0071ea32adb96476fa5d07 (patch)
tree293b0ada5765b7d0076fc05f8d80254e7673cc08 /hw/i2c
parent701ea5870d3752173d0c78d79d9d1f57757a8036 (diff)
downloadfocaccia-qemu-61710a7e23a63546da0071ea32adb96476fa5d07.tar.gz
focaccia-qemu-61710a7e23a63546da0071ea32adb96476fa5d07.zip
accel/tcg: Split out cpu_exec_{setjmp,loop}
Recently the g_assert(cpu == current_cpu) test has been
intermittently failing with gcc.  Reorg the code around
the setjmp to minimize the lifetime of the cpu variable
affected by the setjmp.

This appears to fix the existing issue with clang as well.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1147
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/i2c')
0 files changed, 0 insertions, 0 deletions