diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-07-07 21:40:54 +0100 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-07-15 08:02:33 +0100 |
| commit | e230ec090b61ea7642854197c143010d2c89bb24 (patch) | |
| tree | bdeb020af5b5f8e017e8b7f61eb38b3c6129c2ab /linux-user/syscall.c | |
| parent | ecb796db038ad43707d344ce5da55b7f39c3e59f (diff) | |
| download | focaccia-qemu-e230ec090b61ea7642854197c143010d2c89bb24.tar.gz focaccia-qemu-e230ec090b61ea7642854197c143010d2c89bb24.zip | |
linux-user: Simplify target_madvise
The trivial length 0 check can be moved up, simplifying some of the other cases. The end < start test is handled by guest_range_valid_untagged. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230707204054.8792-27-richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions