From 57a0c9384c12b7cc13d168fe5bff1db244c72151 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 17 Nov 2021 05:14:52 -0800 Subject: 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 Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- linux-user/microblaze/cpu_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user/microblaze/cpu_loop.c') 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 -- cgit v1.2.3-55-g7522