aboutsummaryrefslogtreecommitdiff
path: root/linux-user/ppc/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/ppc/syscall.h')
-rw-r--r--linux-user/ppc/syscall.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/ppc/syscall.h b/linux-user/ppc/syscall.h
index a21d61b1d5..d789911e8a 100644
--- a/linux-user/ppc/syscall.h
+++ b/linux-user/ppc/syscall.h
@@ -51,6 +51,9 @@ struct target_revectored_struct {
abi_ulong __map[8]; /* 256 bits */
};
+/* Nasty hack: define a fake errno value for use by sigreturn. */
+#define TARGET_QEMU_ESIGRETURN 255
+
/*
* flags masks
*/