aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2011-12-29 16:55:41 +0100
committerRiku Voipio <riku.voipio@linaro.org>2012-02-02 17:51:20 +0200
commit63249cb9ebaf327ecc30bac90c1625debcd759cd (patch)
treea90e5cb5355429db3459a1abfb3c4cf388cb0dd2 /linux-user
parent10ecb3f66558e3634556eb538305a06f713a39f2 (diff)
downloadqemu-63249cb9ebaf327ecc30bac90c1625debcd759cd.zip
qemu-63249cb9ebaf327ecc30bac90c1625debcd759cd.tar.gz
qemu-63249cb9ebaf327ecc30bac90c1625debcd759cd.tar.bz2
linux-user: Define TARGET_QEMU_ESIGRETURN for mipsn32
Copied from mips/syscall.h. Signed-off-by: Ulrich Hecht <uli@suse.de> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/mipsn32/syscall.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/mipsn32/syscall.h b/linux-user/mipsn32/syscall.h
index 4ec506c..ebe98f2 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"