summaryrefslogtreecommitdiffstats
path: root/linux-user/microblaze
diff options
context:
space:
mode:
authorRichard Henderson2021-11-17 14:14:52 +0100
committerRichard Henderson2021-12-20 05:47:33 +0100
commit57a0c9384c12b7cc13d168fe5bff1db244c72151 (patch)
tree46a3476ecd3d3e814b45462bd831e3354c5bc702 /linux-user/microblaze
parentbsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS (diff)
downloadqemu-57a0c9384c12b7cc13d168fe5bff1db244c72151.tar.gz
qemu-57a0c9384c12b7cc13d168fe5bff1db244c72151.tar.xz
qemu-57a0c9384c12b7cc13d168fe5bff1db244c72151.zip
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/microblaze')
-rw-r--r--linux-user/microblaze/cpu_loop.c2
-rw-r--r--linux-user/microblaze/signal.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/linux-user/microblaze/cpu_loop.c b/linux-user/microblaze/cpu_loop.c
index 6e368f986e..ff1fb26c8b 100644
--- a/linux-user/microblaze/cpu_loop.c
+++ b/linux-user/microblaze/cpu_loop.c
@@ -56,7 +56,7 @@ void cpu_loop(CPUMBState *env)
if (ret == -QEMU_ERESTARTSYS) {
/* Wind back to before the syscall. */
env->pc -= 4;
- } else if (ret != -TARGET_QEMU_ESIGRETURN) {
+ } else if (ret != -QEMU_ESIGRETURN) {
env->regs[3] = ret;
}
/* All syscall exits result in guest r14 being equal to the
diff --git a/linux-user/microblaze/signal.c b/linux-user/microblaze/signal.c
index 8ebb6a1b7d..5188d74025 100644
--- a/linux-user/microblaze/signal.c
+++ b/linux-user/microblaze/signal.c
@@ -207,12 +207,12 @@ long do_rt_sigreturn(CPUMBState *env)
target_restore_altstack(&frame->uc.tuc_stack, env);
unlock_user_struct(frame, frame_addr, 0);
- return -TARGET_QEMU_ESIGRETURN;
+ return -QEMU_ESIGRETURN;
badframe:
unlock_user_struct(frame, frame_addr, 0);
force_sig(TARGET_SIGSEGV);
- return -TARGET_QEMU_ESIGRETURN;
+ return -QEMU_ESIGRETURN;
}
void setup_sigtramp(abi_ulong sigtramp_page)