diff mbox

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

Message ID 1249308739-13052-4-git-send-email-laurent@vivier.eu
State Superseded
Headers show

Commit Message

Laurent Vivier Aug. 3, 2009, 2:12 p.m. UTC
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(-)
diff mbox

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