diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-11-17 05:14:52 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-12-19 20:47:33 -0800 |
commit | 57a0c9384c12b7cc13d168fe5bff1db244c72151 (patch) | |
tree | 46a3476ecd3d3e814b45462bd831e3354c5bc702 /linux-user/riscv/signal.c | |
parent | ea8ee3ee933c40e01be0d0cb95c444182c52cd25 (diff) | |
download | qemu-57a0c9384c12b7cc13d168fe5bff1db244c72151.zip qemu-57a0c9384c12b7cc13d168fe5bff1db244c72151.tar.gz qemu-57a0c9384c12b7cc13d168fe5bff1db244c72151.tar.bz2 |
linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN
This value is fully internal to qemu, and so is not a TARGET define.
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/riscv/signal.c')
-rw-r--r-- | linux-user/riscv/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/riscv/signal.c b/linux-user/riscv/signal.c index a0f9542..296e39f 100644 --- a/linux-user/riscv/signal.c +++ b/linux-user/riscv/signal.c @@ -188,7 +188,7 @@ long do_rt_sigreturn(CPURISCVState *env) target_restore_altstack(&frame->uc.uc_stack, env); unlock_user_struct(frame, frame_addr, 0); - return -TARGET_QEMU_ESIGRETURN; + return -QEMU_ESIGRETURN; badframe: unlock_user_struct(frame, frame_addr, 0); |