Patchwork [18/19] linux-user: Define TARGET_QEMU_ESIGRETURN for mips64

login
register
mail settings
Submitter riku.voipio@linaro.org
Date Jan. 31, 2012, 9:29 a.m.
Message ID <8b86d7b0669babc280aba9dd2bfa9eb4bc2dd91a.1328001769.git.riku.voipio@linaro.org>
Download mbox | patch
Permalink /patch/138735/
State New
Headers show

Comments

riku.voipio@linaro.org - Jan. 31, 2012, 9:29 a.m.
From: Andreas Färber <afaerber@suse.de>

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>
---
 linux-user/mips64/syscall.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

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"