Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target/riscv: Fix page_check_range use in fault-only-first
Commit bef6f00(accel/tcg: Return bool from page_check_range) converts integer return value to bool type. However, it wrongly converted the use of the API in riscv fault-only-first, where page_check_range < = 0, should be converted to !page_check_range. Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20230729031618.821-1-zhiwei_liu@linux.alibaba.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> (cherry picked from commit 4cc9f28) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
- Loading branch information