From: Andreas Färber Date: Thu, 29 Dec 2011 15:55:41 +0000 (+0100) Subject: linux-user: Define TARGET_QEMU_ESIGRETURN for mipsn32 X-Git-Tag: qemu-xen-4.3.0-rc1~1567^2~2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=63249cb9ebaf327ecc30bac90c1625debcd759cd;p=qemu-xen.git linux-user: Define TARGET_QEMU_ESIGRETURN for mipsn32 Copied from mips/syscall.h. Signed-off-by: Ulrich Hecht Signed-off-by: Andreas Färber Signed-off-by: Riku Voipio --- diff --git a/linux-user/mipsn32/syscall.h b/linux-user/mipsn32/syscall.h index 4ec506cb02..ebe98f2070 100644 --- a/linux-user/mipsn32/syscall.h +++ b/linux-user/mipsn32/syscall.h @@ -218,4 +218,7 @@ struct target_pt_regs { +/* Nasty hack: define a fake errno value for use by sigreturn. */ +#define TARGET_QEMU_ESIGRETURN 255 + #define UNAME_MACHINE "mips64"