Patchwork [3/3,RESEND] m68k, linux-user: enable sigaltstack()

login
register
mail settings
Submitter Laurent Vivier
Date Aug. 3, 2009, 2:12 p.m.
Message ID <1249308739-13052-4-git-send-email-laurent@vivier.eu>
Download mbox | patch
Permalink /patch/30589/
State Superseded
Headers show

Comments

Laurent Vivier - Aug. 3, 2009, 2:12 p.m.
As setup_frame() and setup_rt_frame() are now implemented we can now
enable sigaltstack().

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 linux-user/syscall.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index b5f669e..36caa43 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -6100,7 +6100,8 @@  abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
         goto unimplemented;
     case TARGET_NR_sigaltstack:
 #if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_MIPS) || \
-    defined(TARGET_SPARC) || defined(TARGET_PPC) || defined(TARGET_ALPHA)
+    defined(TARGET_SPARC) || defined(TARGET_PPC) || defined(TARGET_ALPHA) || \
+    defined(TARGET_M68K)
         ret = do_sigaltstack(arg1, arg2, get_sp_from_cpustate((CPUState *)cpu_env));
         break;
 #else