summary refs log tree commit diff stats
path: root/linux-user/linux_loop.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-05-16 19:25:19 -0700
committerRichard Henderson <richard.henderson@linaro.org>2022-06-28 04:35:07 +0530
commit5aadd1829905aace2a1201ddb8ac9b7f18d104fb (patch)
treea9fac5977944674027bcac7237e4fe7282eb219a /linux-user/linux_loop.h
parent1c6ff7205bff49870dc3511f237b3ad90da5f5f7 (diff)
downloadfocaccia-qemu-5aadd1829905aace2a1201ddb8ac9b7f18d104fb.tar.gz
focaccia-qemu-5aadd1829905aace2a1201ddb8ac9b7f18d104fb.zip
semihosting: Inline set_swi_errno into common_semi_cb
Do not store 'err' into errno only to read it back immediately.
Use 'ret' for the return value, not 'reg0'.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions