diff options
| author | Michael Tokarev | 2015-12-29 10:45:25 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2016-01-11 09:39:13 +0100 |
| commit | 477cea9e6db35152ace6ffa250080b0e01160b93 (patch) | |
| tree | 7502cd17f952beac1a666b45954e58b821319631 /linux-user | |
| parent | unicore32: convert get_sp_from_cpustate from macro to inline (diff) | |
| download | qemu-477cea9e6db35152ace6ffa250080b0e01160b93.tar.gz qemu-477cea9e6db35152ace6ffa250080b0e01160b93.tar.xz qemu-477cea9e6db35152ace6ffa250080b0e01160b93.zip | |
linux-user: enable sigaltstack for all architectures
There is no reason to limit sigaltstack syscall to just a few
architectures and pretend it is not implemented for others.
If some architecture is not ready for this, that architecture
should be fixed instead.
This fixes LP#1516408.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user')
| -rw-r--r-- | linux-user/syscall.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 6c64ba63db..3ceb3e2c01 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -8292,14 +8292,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, break; } 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_M68K) || defined(TARGET_S390X) || defined(TARGET_OPENRISC) ret = do_sigaltstack(arg1, arg2, get_sp_from_cpustate((CPUArchState *)cpu_env)); break; -#else - goto unimplemented; -#endif #ifdef CONFIG_SENDFILE case TARGET_NR_sendfile: |
