linux-user/syscall.c: Let tilegx support sigaltstack
PATCH 1/1 linux-user/syscall.c: Let tilegx support sigaltstack
From: Chen Gang <[email protected]>
Simply enable it, and notice about 80 columns coding styles.
Signed-off-by Chen Gang <[email protected]>
--- linux-user/syscall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
linux-user/syscall.c +2 -1
@@ -8294,7 +8294,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,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 ) + defined(TARGET_M68K ) || defined(TARGET_S390X ) || defined(TARGET_TILEGX ) || \ + defined(TARGET_OPENRISC ) ret =do_sigaltstack (arg1, arg2,get_sp_from_cpustate ((CPUArchState *)cpu_env));break ;#else
Signature · 1 line
1.9.3
Michael Tokarev has already enable sigaltstack() for all architecture:
https://patchwork.ozlabs.org/patch/561514/
It is in the "-for-upstream" tree of Riku.
Laurent
Quoted 24 lines · Le 10/01/2016 06:56, [email protected] a écrit :
From: Chen Gang <[email protected]>
Simply enable it, and notice about 80 columns coding styles.
Signed-off-by Chen Gang <[email protected]>--- linux-user/syscall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)linux-user/syscall.c +2
-1@@ -8294,7 +8294,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,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 ) + defined(TARGET_M68K ) || defined(TARGET_S390X ) || defined(TARGET_TILEGX ) || \ + defined(TARGET_OPENRISC ) ret =do_sigaltstack (arg1, arg2,get_sp_from_cpustate ((CPUArchState *)cpu_env));break ;#else
Quoted 6 lines · Laurent Vivier
Michael Tokarev has already enable
sigaltstack()for all architecture:https://patchwork.ozlabs.org/patch/561514/
It is in the "-for-upstream" tree of Riku.
OK, thanks. I shall continue solving existing issues for qemu tilegx, during my free time.
Thanks.
Signature · 3 lines
Chen Gang (陈刚) Open, share, and attitude like air, water, and life which God blessed