qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] linux-user/syscall.c: Let tilegx support sigalt


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH] linux-user/syscall.c: Let tilegx support sigaltstack
Date: Sun, 10 Jan 2016 11:43:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

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, address@hidden a écrit :
> From: Chen Gang <address@hidden>
> 
> Simply enable it, and notice about 80 columns coding styles.
> 
> Signed-off-by: Chen Gang <address@hidden>
> ---
>  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
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]