From patchwork Sun Jan 10 05:56:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Gang X-Patchwork-Id: 565303 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B81861402B4 for ; Sun, 10 Jan 2016 16:57:17 +1100 (AEDT) Received: from localhost ([::1]:45448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aI906-00016D-JL for incoming@patchwork.ozlabs.org; Sun, 10 Jan 2016 00:57:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aI8zt-0000ob-5q for qemu-devel@nongnu.org; Sun, 10 Jan 2016 00:57:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aI8zp-0005zi-UJ for qemu-devel@nongnu.org; Sun, 10 Jan 2016 00:57:01 -0500 Received: from out1134-195.mail.aliyun.com ([42.120.134.195]:25250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aI8zp-0005z4-Hr for qemu-devel@nongnu.org; Sun, 10 Jan 2016 00:56:57 -0500 X-Alimail-AntiSpam: AC=CONTINUE; BC=0.4279567|-1; FP=0|0|0|0|0|-1|-1|-1; HT=e01l04363; MF=chengang@emindsoft.com.cn; NM=1; PH=DS; RN=8; RT=7; SR=0; TI=SMTPD_----4R5zetv_1452405397; Received: from localhost.localdomain.localdomain(mailfrom:chengang@emindsoft.com.cn ip:223.72.67.77) by smtp.aliyun-inc.com(10.147.42.253); Sun, 10 Jan 2016 13:56:42 +0800 From: chengang@emindsoft.com.cn To: riku.voipio@iki.fi, peter.maydell@linaro.org, rth@twiddle.net, cmetcalf@ezchip.com Date: Sun, 10 Jan 2016 13:56:31 +0800 Message-Id: <1452405391-4162-1-git-send-email-chengang@emindsoft.com.cn> X-Mailer: git-send-email 1.9.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 42.120.134.195 Cc: Chen Gang , qemu-devel@nongnu.org, Chen Gang Subject: [Qemu-devel] [PATCH] linux-user/syscall.c: Let tilegx support sigaltstack X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Chen Gang Simply enable it, and notice about 80 columns coding styles. Signed-off-by: Chen Gang --- 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