[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/3] m68k,linux-user: enable sigaltstack()
From: |
Laurent Vivier |
Subject: |
[Qemu-devel] [PATCH 3/3] m68k,linux-user: enable sigaltstack() |
Date: |
Wed, 22 Jul 2009 10:47:40 +0200 |
As setup_frame() and setup_rt_frame() are now implemented we can now
enable sigaltstack().
Signed-off-by: Laurent Vivier <address@hidden>
---
linux-user/syscall.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 7b57323..12642b6 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
--
1.5.6.5