* [Qemu-devel] [PATCH] linux-user/syscall.c: Let tilegx support sigaltstack
@ 2016-01-10 5:56 chengang
2016-01-10 10:43 ` Laurent Vivier
0 siblings, 1 reply; 3+ messages in thread
From: chengang @ 2016-01-10 5:56 UTC (permalink / raw)
To: riku.voipio, peter.maydell, rth, cmetcalf
Cc: Chen Gang, qemu-devel, Chen Gang
From: Chen Gang <chengang@emindsoft.com.cn>
Simply enable it, and notice about 80 columns coding styles.
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
linux-user/syscall.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 6c64ba6..8d4bcf6 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -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
--
1.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] linux-user/syscall.c: Let tilegx support sigaltstack
2016-01-10 5:56 [Qemu-devel] [PATCH] linux-user/syscall.c: Let tilegx support sigaltstack chengang
@ 2016-01-10 10:43 ` Laurent Vivier
2016-01-10 13:02 ` Chen Gang
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Vivier @ 2016-01-10 10:43 UTC (permalink / raw)
To: chengang, riku.voipio, peter.maydell, rth, cmetcalf; +Cc: qemu-devel, Chen Gang
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
Le 10/01/2016 06:56, chengang@emindsoft.com.cn a écrit :
> From: Chen Gang <chengang@emindsoft.com.cn>
>
> Simply enable it, and notice about 80 columns coding styles.
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> ---
> linux-user/syscall.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 6c64ba6..8d4bcf6 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] linux-user/syscall.c: Let tilegx support sigaltstack
2016-01-10 10:43 ` Laurent Vivier
@ 2016-01-10 13:02 ` Chen Gang
0 siblings, 0 replies; 3+ messages in thread
From: Chen Gang @ 2016-01-10 13:02 UTC (permalink / raw)
To: Laurent Vivier, riku.voipio, peter.maydell, rth, cmetcalf
Cc: qemu-devel, Chen Gang
On 1/10/16 18:43, Laurent Vivier wrote:
> 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.
--
Chen Gang (陈刚)
Open, share, and attitude like air, water, and life which God blessed
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-10 12:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-10 5:56 [Qemu-devel] [PATCH] linux-user/syscall.c: Let tilegx support sigaltstack chengang
2016-01-10 10:43 ` Laurent Vivier
2016-01-10 13:02 ` Chen Gang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.