aboutsummaryrefslogtreecommitdiff
path: root/linux-user/mips64
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
parent63249cb9ebaf327ecc30bac90c1625debcd759cd (diff)
downloadqemu-2aeb36a897c6de08e9ede9e318d5970855b4b8f3.zip
qemu-2aeb36a897c6de08e9ede9e318d5970855b4b8f3.tar.gz
qemu-2aeb36a897c6de08e9ede9e318d5970855b4b8f3.tar.bz2
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 668a2b9..e436ea5 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"