summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2011-12-29 16:55:42 +0100
committerRiku Voipio <riku.voipio@linaro.org>2012-02-02 17:51:21 +0200
commit2aeb36a897c6de08e9ede9e318d5970855b4b8f3 (patch)
treeb57eb176cab673fa1461f30ef793d2004e0e2586 /linux-user/mips64
parentlinux-user: Define TARGET_QEMU_ESIGRETURN for mipsn32 (diff)
downloadqemu-kvm-2aeb36a897c6de08e9ede9e318d5970855b4b8f3.tar.gz
qemu-kvm-2aeb36a897c6de08e9ede9e318d5970855b4b8f3.tar.bz2
qemu-kvm-2aeb36a897c6de08e9ede9e318d5970855b4b8f3.zip
linux-user: Define TARGET_QEMU_ESIGRETURN for mips64
Copied from mips/syscall.h. Signed-off-by: Khansa Butt <khansa@kics.edu.pk> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/mips64')
-rw-r--r--linux-user/mips64/syscall.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/mips64/syscall.h b/linux-user/mips64/syscall.h
index 668a2b95d..e436ea57d 100644
--- a/linux-user/mips64/syscall.h
+++ b/linux-user/mips64/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"