OSDN Git Service

accel/tcg: Fix tb_invalidate_phys_page_unwind
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 24 Dec 2022 12:35:22 +0000 (04:35 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 5 Jan 2023 19:41:29 +0000 (11:41 -0800)
commit1b660f42efd721e4bcb5548907ba8d1370053318
tree623e24fe630a7674f75f03da675286aa2133e198
parentcee44b037b7e40c74401f7a87bef32f6680483c7
accel/tcg: Fix tb_invalidate_phys_page_unwind

When called from syscall(), we are not within a TB and pc == 0.
We can skip the check for invalidating the current TB.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/tb-maint.c