From patchwork Thu Aug 13 20:06:17 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 31355 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 5D02EB7099 for ; Fri, 14 Aug 2009 06:12:05 +1000 (EST) Received: from localhost ([127.0.0.1]:45258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbgeY-00085G-Dl for incoming@patchwork.ozlabs.org; Thu, 13 Aug 2009 16:12:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbgZF-0003vN-N7 for qemu-devel@nongnu.org; Thu, 13 Aug 2009 16:06:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbgZC-0003ps-P4 for qemu-devel@nongnu.org; Thu, 13 Aug 2009 16:06:31 -0400 Received: from [199.232.76.173] (port=50649 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbgZC-0003p9-JK for qemu-devel@nongnu.org; Thu, 13 Aug 2009 16:06:30 -0400 Received: from [84.20.150.76] (port=34676 helo=naru.obs2.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MbgZB-0000pR-E3 for qemu-devel@nongnu.org; Thu, 13 Aug 2009 16:06:29 -0400 Received: from kos.to (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by narury.org (Postfix) with ESMTP id 1AE923274069; Thu, 13 Aug 2009 23:06:26 +0300 (EEST) Received: by kos.to (Postfix, from userid 573) id CA822EE831B; Thu, 13 Aug 2009 23:06:25 +0300 (EEST) From: riku.voipio@iki.fi To: qemu-devel@nongnu.org Date: Thu, 13 Aug 2009 23:06:17 +0300 Message-Id: <343e8d5a49734f154f5e9ccc61113c116a5990f4.1250193231.git.riku.voipio@iki.fi> X-Mailer: git-send-email 1.6.2.1 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Cc: Riku Voipio , Laurent Vivier Subject: [Qemu-devel] [PATCH 04/11] m68k, linux-user: enable sigaltstack() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Laurent Vivier As setup_frame() and setup_rt_frame() are now implemented we can now enable sigaltstack(). Signed-off-by: Laurent Vivier Signed-off-by: Riku Voipio --- linux-user/syscall.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 3b1ed60..fdd46ec 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -6108,7 +6108,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, goto unimplemented; 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_SPARC) || defined(TARGET_PPC) || defined(TARGET_ALPHA) || \ + defined(TARGET_M68K) ret = do_sigaltstack(arg1, arg2, get_sp_from_cpustate((CPUState *)cpu_env)); break; #else