Skip to content
Snippets Groups Projects
Commit 4cc9f284 authored by LIU Zhiwei's avatar LIU Zhiwei Committed by Alistair Francis
Browse files

target/riscv: Fix page_check_range use in fault-only-first


Commit bef6f008(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: default avatarLIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-ID: <20230729031618.821-1-zhiwei_liu@linux.alibaba.com>
Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent 03d7bbfd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment