summaryrefslogtreecommitdiff
path: root/linux-user/mips
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/mips')
-rw-r--r--linux-user/mips/syscall.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/mips/syscall.h b/linux-user/mips/syscall.h
index 9dfcc1f205..3deb862cc4 100644
--- a/linux-user/mips/syscall.h
+++ b/linux-user/mips/syscall.h
@@ -221,4 +221,7 @@ struct target_pt_regs {
+/* Nasty hack: define a fake errno value for use by sigreturn. */
+#define TARGET_QEMU_ESIGRETURN 255
+
#define UNAME_MACHINE "mips"